aboutsummaryrefslogtreecommitdiff
path: root/academic/scipy/scipy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/scipy/scipy.SlackBuild')
-rw-r--r--academic/scipy/scipy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/scipy/scipy.SlackBuild b/academic/scipy/scipy.SlackBuild
index 1e6c8dce134c1..382af46379009 100644
--- a/academic/scipy/scipy.SlackBuild
+++ b/academic/scipy/scipy.SlackBuild
@@ -28,6 +28,8 @@
# Updated up to 1.1.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scipy
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-2}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}