summaryrefslogtreecommitdiff
path: root/network/pyzor/pyzor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pyzor/pyzor.SlackBuild')
-rw-r--r--network/pyzor/pyzor.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/pyzor/pyzor.SlackBuild b/network/pyzor/pyzor.SlackBuild
index 41b239b741..be570facdc 100644
--- a/network/pyzor/pyzor.SlackBuild
+++ b/network/pyzor/pyzor.SlackBuild
@@ -26,6 +26,8 @@
# Thanks to Carlos Xavier for a patch with better compatibility against Python 2.7
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyzor
VERSION=${VERSION:-1.0.0}
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}