Browse Source

typo, delete lockfile

Sniperovitch 8 years ago
parent
commit
b07368f9e5
1 changed files with 3 additions and 2 deletions
  1. 3 2
      cocktail

+ 3 - 2
cocktail

@@ -215,9 +215,10 @@ lock_project() {
 
 release_project() {
   verbose "$FUNCNAME $PROJET released"
-  if test -e "$LOCKFILE";
+  if test -e "$LOCK_FILE";
   then
-    rm -f $LOCK_FILE
+    verbose "$FUNCNAME lock=$LOCK_FILE exists, delete"
+    rm -f "$LOCK_FILE"
   fi
 }