aboutsummaryrefslogtreecommitdiff
path: root/python/distorm
diff options
context:
space:
mode:
Diffstat (limited to 'python/distorm')
-rw-r--r--python/distorm/distorm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/distorm/distorm.SlackBuild b/python/distorm/distorm.SlackBuild
index 4c2fe7284033..ce3985aa11b4 100644
--- a/python/distorm/distorm.SlackBuild
+++ b/python/distorm/distorm.SlackBuild
@@ -23,6 +23,8 @@
#
# Updated v3.4.1 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=distorm
VERSION=${VERSION:-3.4.1}
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}