aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenBLAS/OpenBLAS.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OpenBLAS/OpenBLAS.SlackBuild')
-rw-r--r--libraries/OpenBLAS/OpenBLAS.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/OpenBLAS/OpenBLAS.SlackBuild b/libraries/OpenBLAS/OpenBLAS.SlackBuild
index 656152fc855c..c1bd68202881 100644
--- a/libraries/OpenBLAS/OpenBLAS.SlackBuild
+++ b/libraries/OpenBLAS/OpenBLAS.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for OpenBLAS
# Written by Mário Antunes (mariolpantunes@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="OpenBLAS"
VERSION=${VERSION:-0.3.12}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then
EXTRAPARMS=$EXTRAPARMS" TARGET="$TARGET
fi
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}