summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-04-15 19:38:35 +0000
committervarac <varacanero@zeromail.org>2015-04-15 19:38:35 +0000
commit1b18601aa98ba7b98507d185f181511066a39864 (patch)
treef03890426857ad470ad2aa7de1bd5be534b7219a
parent5714ce580b51c756ad794640585b9a243051877b (diff)
use /var/run/lock/ for lockfile, and use a branch specific lockfile name
-rwxr-xr-xleap-platform-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/leap-platform-test b/leap-platform-test
index 40b482d..8d6741f 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -521,7 +521,7 @@ date=$( date +"%F-%H%M%S" )
TEST_LOG1="$LOGDIR/test.log"
TEST_LOG2="$LOGDIR/test-$date.log"
-LOCKFILE=/var/run/leap_ci_deploy_lock
+LOCKFILE="/var/run/lock/leap_ci_deploy_${PLATFORM_BRANCH}.lock"
[ -e "$PROVIDERDIR" ] && cd "$PROVIDERDIR"