diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-04 09:07:51 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-04 09:07:51 +0100 |
commit | 0aa8289a3773fd8a3885090b72622c2f95ab099c (patch) | |
tree | e52b5041254965079499d3c05fb476d560fefc31 | |
parent | 65ae9642aa8436fce43252bef8041a7cbcd6f2b6 (diff) | |
download | vyos-live-build-0aa8289a3773fd8a3885090b72622c2f95ab099c.tar.gz vyos-live-build-0aa8289a3773fd8a3885090b72622c2f95ab099c.zip |
Switching from global lock file to config tree specific one.
-rwxr-xr-x | functions/lockfile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/lockfile.sh b/functions/lockfile.sh index 7a3107709..330e83312 100755 --- a/functions/lockfile.sh +++ b/functions/lockfile.sh @@ -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})" |