mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
scripts/mkimage.sh: set pipefail for build_profile
Make sure that errors in pipes properly propagate.
This commit is contained in:
parent
7ebed71661
commit
0620a000e9
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ for ARCH in $req_arch; do
|
||||||
echo "---" > "$_yaml_out"
|
echo "---" > "$_yaml_out"
|
||||||
fi
|
fi
|
||||||
for PROFILE in $req_profiles; do
|
for PROFILE in $req_profiles; do
|
||||||
(set -e; build_profile) || exit 1
|
(set -eo pipefail; build_profile) || exit 1
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
echo "Images generated in $OUTDIR"
|
echo "Images generated in $OUTDIR"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue