summaryrefslogtreecommitdiff
path: root/bin/create-build-support-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-30 11:18:03 +0100
committerErich Eckner <git@eckner.net>2020-01-30 11:18:03 +0100
commita9d2ea413bc0b4ccbebd2da7a48a8c0dbaf2e676 (patch)
tree6f0c1e23e4671c1522bf518aa00a6663ae1d9cc9 /bin/create-build-support-package
parent90750bad1b9337731f7ba45b7d4a15544b0e51f6 (diff)
downloadbuilder-a9d2ea413bc0b4ccbebd2da7a48a8c0dbaf2e676.tar.xz
check intentions_left() whenever we get a package_database_lock
Diffstat (limited to 'bin/create-build-support-package')
-rwxr-xr-xbin/create-build-support-package5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/create-build-support-package b/bin/create-build-support-package
index a133e86..dd8ddc3 100755
--- a/bin/create-build-support-package
+++ b/bin/create-build-support-package
@@ -256,6 +256,11 @@ elif [ -n "${shim_package}" ]; then
exec 8> "${package_database_lock_file}"
verbose_flock ${wait_for_lock} 8
+ while intentions_left; do
+ >&2 echo 'There are still intentions in the queue.'
+ sleep 1
+ done
+
original_pkg_id=$(
# shellcheck disable=SC2016
{