summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 11:18:14 +0200
committerErich Eckner <git@eckner.net>2018-05-27 11:18:14 +0200
commitbd96b6f15c9fbce2e9115375d5b13b194efbfbb4 (patch)
treefaa8015607efaff1218e8cdd4425a1c2d47094b7 /bin/build-packages
parent0bdd88804d147c2c24e36b5190e14219431dc34b (diff)
downloadbuilder-bd96b6f15c9fbce2e9115375d5b13b194efbfbb4.tar.xz
bin/build-packages: bail_out -> exit, there is already a trap
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 6a57303..6d4f93a 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -587,11 +587,11 @@ while [ "${count}" -ne 0 ] && \
;;
3)
>&2 echo "'return-assignment' reports a signature error."
- bail_out 1
+ exit 1
;;
4)
>&2 echo "'return-assignment' reports too many or missing packages."
- bail_out 1
+ exit 1
;;
*)
>&2 echo "unknown return code ${err} from 'return-assignment'"
@@ -649,7 +649,7 @@ while [ "${count}" -ne 0 ] && \
fi
if ${exit_after_failure}; then
>&2 echo 'Build failed, exiting now'
- bail_out 0
+ exit 0
fi
fi