aboutsummaryrefslogtreecommitdiff
path: root/python/pefile/pefile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pefile/pefile.SlackBuild')
-rw-r--r--python/pefile/pefile.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pefile/pefile.SlackBuild b/python/pefile/pefile.SlackBuild
index 3e2bb6f288c4f..5497db6877138 100644
--- a/python/pefile/pefile.SlackBuild
+++ b/python/pefile/pefile.SlackBuild
@@ -23,6 +23,8 @@
#
# Updated for 2018.8.8 Jan 2019, Barry J. Grundy.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pefile
VERSION=${VERSION:-2018.8.8}
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}