summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
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}"