Surround composer-cli call with set +e/set -e as a workaround
because apparently calling nvrGreaterOrEqual inside a for loop doesn't behave as expected and this fails on the second iteration.
This commit is contained in:
parent
b47e741895
commit
42a90914ab
1 changed files with 3 additions and 0 deletions
|
|
@ -154,7 +154,10 @@ distro= "$REMAINING_DISTRO"
|
|||
[[packages]]
|
||||
name = "bash"
|
||||
EOF
|
||||
|
||||
set +e
|
||||
RESPONSE=$(sudo composer-cli blueprints push $TEST_BP 2>&1)
|
||||
set -e
|
||||
|
||||
echo "DEBUG: $REMAINING_DISTRO, RESPONSE=$RESPONSE"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue