Switching from global lock file to config tree specific one.
This commit is contained in:
parent
65ae9642aa
commit
0aa8289a37
|
@ -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})"
|
||||
|
|
Loading…
Reference in New Issue