summaryrefslogtreecommitdiff
path: root/functions/lockfile.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitf2734daf0a9519db6b303683d3ac413a20d56e2a (patch)
tree6d9d0c85e7141243e0b40adcd847d1cc7c479448 /functions/lockfile.sh
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadlive-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
Replacing backticks with POSIX expression.
Diffstat (limited to 'functions/lockfile.sh')
-rwxr-xr-xfunctions/lockfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/lockfile.sh b/functions/lockfile.sh
index e80bf41..1850308 100755
--- a/functions/lockfile.sh
+++ b/functions/lockfile.sh
@@ -24,7 +24,7 @@ Check_lockfile ()
Create_lockfile ()
{
FILE="${1}"
- DIRECTORY="`dirname ${1}`"
+ DIRECTORY="$(dirname ${1})"
# Creating lock directory
mkdir -p "${DIRECTORY}"