aboutsummaryrefslogtreecommitdiff
path: root/python/bencode/bencode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/bencode/bencode.SlackBuild')
-rw-r--r--python/bencode/bencode.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/bencode/bencode.SlackBuild b/python/bencode/bencode.SlackBuild
index 11a5f4c554a7a..ad559c9493f16 100644
--- a/python/bencode/bencode.SlackBuild
+++ b/python/bencode/bencode.SlackBuild
@@ -23,6 +23,8 @@
#
# Initial Build - November 2014 version 1.0
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bencode
VERSION=${VERSION:-1.0}
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}