aboutsummaryrefslogtreecommitdiff
path: root/python/gmpy/gmpy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/gmpy/gmpy.SlackBuild')
-rw-r--r--python/gmpy/gmpy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/gmpy/gmpy.SlackBuild b/python/gmpy/gmpy.SlackBuild
index 27b05df078779..c783bc6ddb20c 100644
--- a/python/gmpy/gmpy.SlackBuild
+++ b/python/gmpy/gmpy.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gmpy
VERSION=${VERSION:-1.17}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}