aboutsummaryrefslogtreecommitdiff
path: root/python/lockfile/lockfile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/lockfile/lockfile.SlackBuild')
-rw-r--r--python/lockfile/lockfile.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/lockfile/lockfile.SlackBuild b/python/lockfile/lockfile.SlackBuild
index 2427f97b56fa2..6aa568ef8d1ed 100644
--- a/python/lockfile/lockfile.SlackBuild
+++ b/python/lockfile/lockfile.SlackBuild
@@ -10,6 +10,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lockfile
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}