1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00

scripts/mkimage.sh: set pipefail for build_profile

Make sure that errors in pipes properly propagate.
This commit is contained in:
Sertonix 2024-09-27 09:56:17 +02:00 committed by Natanael Copa
parent 7ebed71661
commit 0620a000e9

View file

@ -330,7 +330,7 @@ for ARCH in $req_arch; do
echo "---" > "$_yaml_out"
fi
for PROFILE in $req_profiles; do
(set -e; build_profile) || exit 1
(set -eo pipefail; build_profile) || exit 1
done
done
echo "Images generated in $OUTDIR"