diff options
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-x | bin/build-master-status | 5 |
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 |