aboutsummaryrefslogtreecommitdiff
path: root/python/asttokens/asttokens.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/asttokens/asttokens.SlackBuild')
-rw-r--r--python/asttokens/asttokens.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/asttokens/asttokens.SlackBuild b/python/asttokens/asttokens.SlackBuild
index f16baf5462f85..6772589d30ffe 100644
--- a/python/asttokens/asttokens.SlackBuild
+++ b/python/asttokens/asttokens.SlackBuild
@@ -26,6 +26,8 @@
# note to self. github source tar.gz can miss out subdeps,
# so use pypi.org/project/asttokens download source tar.gz instead.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asttokens
VERSION=${VERSION:-2.0.4}
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}