summaryrefslogtreecommitdiff
path: root/functions/lockfile.sh
diff options
context:
space:
mode:
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}"