Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-13 15:40:06 +0100
committerErich Eckner <git@eckner.net>2017-11-13 15:40:06 +0100
commitd073da7d3aa30cd22940faec3e32de640a43e73d (patch)
treec82dd33509407a8c733d37c785954c3c926c7b2c
parent166b987f6922bbba32c5695132967cd74072e6cc (diff)
exit more often and more silent if build-master-sanity existent
-rwxr-xr-xbin/build-master-status5
-rwxr-xr-xbin/cleanup2
-rwxr-xr-xbin/db-update2
-rwxr-xr-xbin/delete-packages2
4 files changed, 8 insertions, 3 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
diff --git a/bin/cleanup b/bin/cleanup
index d0e7bee..a7589de 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -14,7 +14,7 @@ fi
if [ -s "${work_dir}/build-master-sanity" ]; then
>&2 echo 'Build master is not sane.'
- exit 1
+ exit
fi
# remove blocked/broken/locked markes of packages not on the buildlist anymore
diff --git a/bin/db-update b/bin/db-update
index 279e44f..366b705 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -386,7 +386,7 @@ fi
if [ -s "${work_dir}/build-master-sanity" ]; then
>&2 echo 'Build master is not sane.'
- exit 1
+ exit
fi
tmp_dir=$(mktemp -d "${work_dir}/tmp.XXXXXX")
diff --git a/bin/delete-packages b/bin/delete-packages
index 752c3fa..124e403 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -64,7 +64,7 @@ done
if [ -s "${work_dir}/build-master-sanity" ]; then
>&2 echo 'Build master is not sane.'
- exit 1
+ exit
fi
tmp_dir=$(mktemp -d "${work_dir}/tmp.XXXXXX")