index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-22 09:04:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-22 09:04:41 +0200 |
commit | bc7c6279b3f64e82701e0d26a0c12483f994eed3 (patch) | |
tree | 08be7a38e6ceaf788c0e3a23d634d308030f1616 /bin | |
parent | 6e793c837f0d7c4eb691224ed85a6669015d29bd (diff) |
-rwxr-xr-x | bin/db-update | 5 | ||||
-rwxr-xr-x | bin/get-assignment | 5 | ||||
-rwxr-xr-x | bin/get-package-updates | 5 | ||||
-rwxr-xr-x | bin/return-assignment | 5 |
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 diff --git a/bin/get-assignment b/bin/get-assignment index 66e8971..d486738 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -50,6 +50,11 @@ hand_out_assignment() { } +if ! ${base_dir}/bin/sanity-check -r; then + >&2 echo 'Build master is not sane.' + exit 1 +fi + # Create a lock file and a trap. exec 9> "${build_list_lock_file}" diff --git a/bin/get-package-updates b/bin/get-package-updates index d1ceaaa..5faf6f5 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -72,6 +72,11 @@ if [ $# -ne 0 ]; then usage fi +if ! ${base_dir}/bin/sanity-check -r; then + >&2 echo 'Build master is not sane.' + exit 1 +fi + # delete_package package # mark $package for deletion delete_package() { diff --git a/bin/return-assignment b/bin/return-assignment index 1ff2a50..e4a3934 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -20,6 +20,11 @@ . "${0%/*}/../conf/default.conf" +if ! ${base_dir}/bin/sanity-check -r; then + >&2 echo 'Build master is not sane.' + exit 1 +fi + # Create a lock file and a trap. exec 9> "${build_list_lock_file}" |