Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 15df41c..719b22b 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -55,6 +55,11 @@ if [ $# -ne 0 ]; then
usage
fi
+if [ -s "${work_dir}/build-master-sanity" ]; then
+ >&2 echo 'Build master is not sane.'
+ exit
+fi
+
tmp_dir=$(mktemp -d)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT