aboutsummaryrefslogtreecommitdiff
path: root/development/numpy-legacy3/numpy-legacy3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/numpy-legacy3/numpy-legacy3.SlackBuild')
-rw-r--r--development/numpy-legacy3/numpy-legacy3.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/numpy-legacy3/numpy-legacy3.SlackBuild b/development/numpy-legacy3/numpy-legacy3.SlackBuild
index 8093966b2f162..8cc3c56c29dfd 100644
--- a/development/numpy-legacy3/numpy-legacy3.SlackBuild
+++ b/development/numpy-legacy3/numpy-legacy3.SlackBuild
@@ -43,6 +43,8 @@
# Added the possibility to force numpy to link to different kinds of the
# ATLAS library (S. Udrea)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="numpy-legacy3"
VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
@@ -72,7 +74,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}