summaryrefslogtreecommitdiff
path: root/bin/cleanup
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-03 10:44:14 +0200
committerErich Eckner <git@eckner.net>2017-08-03 10:44:14 +0200
commit48197b7b95b4a9a2160379921b904bb7b4617e26 (patch)
tree38921a5f30309f4f4ddc2f24b79553030f821414 /bin/cleanup
parent4ff3ae588805c768827ea174f74ce49cfccafcec (diff)
downloadbuilder-48197b7b95b4a9a2160379921b904bb7b4617e26.tar.xz
use sanity-flag file instead of actually checking build master sanity
Diffstat (limited to 'bin/cleanup')
-rwxr-xr-xbin/cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cleanup b/bin/cleanup
index f01ba98..93af0bc 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -11,7 +11,7 @@ if ! tty -s && \
exit
fi
-if ! "${base_dir}/bin/sanity-check" -r; then
+if [ -s "${work_dir}/build-master-sanity" ]; then
>&2 echo 'Build master is not sane.'
exit 1
fi