From d77abe540ea30abb0d4b9e01d513b24d8011058b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 3 Dec 2013 21:41:10 +0100 Subject: only lock workspace during prepare_workspace --- bin/build-deb-package | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/build-deb-package') diff --git a/bin/build-deb-package b/bin/build-deb-package index 42803dd..49c0d80 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -318,8 +318,8 @@ wait_for_lock() { pid=$(head -n1 $LOCK_FILE) if ! ps $pid 1>/dev/null; then rm -f $LOCK_FILE else - echo "PROJECT directory is locked, sleeping for 5 minutes..." - sleep 300 + echo "PROJECT directory is locked, sleeping for 10 seconds..." + sleep 10 fi done } @@ -339,6 +339,7 @@ set_vars $@ && { cd $PROJECT_DIR && pkgneedsbuild $CHECKOUT || [ "$FORCE_BUILD" = "yes" ] && { lock_workspace prepare_workspace && { + unlock_workspace clear_pkgdist build_packages } -- cgit v1.2.3