Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index bf78581..65965c6 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -290,6 +290,11 @@ done
packages_to_stabilize=${packages_to_stabilize} ${@}
+if ! ${base_dir}/bin/sanity-check -r; then
+ >&2 echo 'Build master is not sane.'
+ exit 1
+fi
+
for package in ${packages_to_stabilize}; do
# some sanity checks
if [ ! -f "${work_dir}/package-states/${package}.testing" ]; then