summaryrefslogtreecommitdiffstats
path: root/python/dpkt/dpkt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/dpkt/dpkt.SlackBuild')
-rw-r--r--python/dpkt/dpkt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/dpkt/dpkt.SlackBuild b/python/dpkt/dpkt.SlackBuild
index c5c400efd9..84dfd95863 100644
--- a/python/dpkt/dpkt.SlackBuild
+++ b/python/dpkt/dpkt.SlackBuild
@@ -26,6 +26,8 @@
# Updated for version 1.8.8 January 2017, Barry J. Grundy.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dpkt
VERSION=${VERSION:-1.8.8}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}