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}" ]
|
if [ -z "${FILE}" ]
|
||||||
then
|
then
|
||||||
FILE="/var/lock/${PROGRAM}.lock"
|
FILE=".build/lock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checking lock file
|
# Checking lock file
|
||||||
|
@ -31,7 +31,7 @@ Create_lockfile ()
|
||||||
|
|
||||||
if [ -z "${FILE}" ]
|
if [ -z "${FILE}" ]
|
||||||
then
|
then
|
||||||
FILE="/var/lock/${PROGRAM}.lock"
|
FILE=".build/lock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DIRECTORY="$(dirname ${FILE})"
|
DIRECTORY="$(dirname ${FILE})"
|
||||||
|
|
Loading…
Reference in New Issue