diff options
Diffstat (limited to 'bin/build-deb-package')
-rwxr-xr-x | bin/build-deb-package | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/build-deb-package b/bin/build-deb-package index 1e9a0bb..2c435c4 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -317,8 +317,10 @@ wait_for_lock() { while [ -f $LOCK_FILE ]; do pid=$(head -n1 $LOCK_FILE) if ! ps $pid 1>/dev/null; then rm -f $LOCK_FILE - else echo "PROJECT directory is locked, sleeping for 10 secs..."; fi - sleep 10 + else + echo "PROJECT directory is locked, sleeping for 10 secs..." + sleep 10 + fi done } |