aboutsummaryrefslogtreecommitdiff
path: root/python/pytsk/pytsk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pytsk/pytsk.SlackBuild')
-rw-r--r--python/pytsk/pytsk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pytsk/pytsk.SlackBuild b/python/pytsk/pytsk.SlackBuild
index d0c6a669d6206..47f58f173ac2c 100644
--- a/python/pytsk/pytsk.SlackBuild
+++ b/python/pytsk/pytsk.SlackBuild
@@ -23,6 +23,8 @@
#
# Updated v20190121 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pytsk
VERSION=${VERSION:-20190121}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}