fix missing pipefail in build script

This commit is contained in:
Alexander Mahr 2025-01-05 22:59:22 +01:00
parent bd0af0a8a9
commit dc03b2fb46

View file

@ -36,7 +36,7 @@ RUN <<EOF
cat > /bin/makefile-bash-wrapper.sh << 'WRAPPER'
#!/bin/bash
printf $'\033[0;32m''#----------------------------------------\n'$'\033[0m' >&2
bash -e "$@" || {
bash -eo pipefail "$@" || {
EXITCODE=$?
printf $'\033[0;31m''ERROR EXITCODE='"$EXITCODE"'\n'$'\033[0m' >&2
exit $EXITCODE