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:
Alexander Todorov 2023-12-22 09:44:14 +02:00 committed by Jakub Rusz
parent b47e741895
commit 42a90914ab

View file

@ -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"