From bc7c6279b3f64e82701e0d26a0c12483f994eed3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Jun 2017 09:04:41 +0200 Subject: bin/db-update bin/get-assignment bin/get-package-updates bin/return-assignment: check for sanity of build master before doing anything --- bin/db-update | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/db-update') 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 -- cgit v1.2.3-54-g00ecf