Switching from global lock file to config tree specific one.

This commit is contained in:
Daniel Baumann 2013-11-04 09:07:51 +01:00
parent 65ae9642aa
commit 0aa8289a37
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Check_lockfile ()
if [ -z "${FILE}" ]
then
FILE="/var/lock/${PROGRAM}.lock"
FILE=".build/lock"
fi
# Checking lock file
@ -31,7 +31,7 @@ Create_lockfile ()
if [ -z "${FILE}" ]
then
FILE="/var/lock/${PROGRAM}.lock"
FILE=".build/lock"
fi
DIRECTORY="$(dirname ${FILE})"