[X2Go-Commits] buildscripts.git - master (branch) updated: d77abe540ea30abb0d4b9e01d513b24d8011058b

X2Go dev team git-admin at x2go.org
Tue Dec 3 21:41:46 CET 2013


The branch, master has been updated
       via  d77abe540ea30abb0d4b9e01d513b24d8011058b (commit)
      from  5a425eddb3b5fa7e37510ba65719e2e620a3984e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d77abe540ea30abb0d4b9e01d513b24d8011058b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Dec 3 21:41:10 2013 +0100

    only lock workspace during prepare_workspace

-----------------------------------------------------------------------

Summary of changes:
 bin/build-deb-package |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
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
 			}


hooks/post-receive
-- 
buildscripts.git (X2Go packaging scripts)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).




More information about the x2go-commits mailing list