aboutsummaryrefslogtreecommitdiff
path: root/contrib/autotools-patches/apply-all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/autotools-patches/apply-all.sh')
-rwxr-xr-xcontrib/autotools-patches/apply-all.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/autotools-patches/apply-all.sh b/contrib/autotools-patches/apply-all.sh
index ed9c4268..87e7edec 100755
--- a/contrib/autotools-patches/apply-all.sh
+++ b/contrib/autotools-patches/apply-all.sh
@@ -30,5 +30,9 @@ for patch in ${patches[@]}; do
30 patch -N -p1 --no-backup-if-mismatch -r - -i "${patchesdir}/${patch}" || failed+=("$patch") 30 patch -N -p1 --no-backup-if-mismatch -r - -i "${patchesdir}/${patch}" || failed+=("$patch")
31done 31done
32 32
33[[ -n "${failed[@]}" ]] && printf 'Failed patch: %s\n' "${failed[@]}" >&2 33if [[ -n "${failed[@]}" ]]; then
34 printf 'Failed patch: %s\n' "${failed[@]}" >&2
35 exit 2
36fi
34 37
38exit 0