Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-22 09:04:41 +0200
committerErich Eckner <git@eckner.net>2017-06-22 09:04:41 +0200
commitbc7c6279b3f64e82701e0d26a0c12483f994eed3 (patch)
tree08be7a38e6ceaf788c0e3a23d634d308030f1616 /bin/return-assignment
parent6e793c837f0d7c4eb691224ed85a6669015d29bd (diff)
bin/db-update bin/get-assignment bin/get-package-updates bin/return-assignment: check for sanity of build master before doing anything
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 1ff2a50..e4a3934 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -20,6 +20,11 @@
. "${0%/*}/../conf/default.conf"
+if ! ${base_dir}/bin/sanity-check -r; then
+ >&2 echo 'Build master is not sane.'
+ exit 1
+fi
+
# Create a lock file and a trap.
exec 9> "${build_list_lock_file}"