summaryrefslogtreecommitdiffstats
path: root/python/pyasn1/pyasn1.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyasn1/pyasn1.SlackBuild')
-rw-r--r--python/pyasn1/pyasn1.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pyasn1/pyasn1.SlackBuild b/python/pyasn1/pyasn1.SlackBuild
index 52028e79c8..c34bad2020 100644
--- a/python/pyasn1/pyasn1.SlackBuild
+++ b/python/pyasn1/pyasn1.SlackBuild
@@ -24,6 +24,8 @@
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyasn1
VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}