aboutsummaryrefslogtreecommitdiff
path: root/academic/cblas/cblas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cblas/cblas.SlackBuild')
-rw-r--r--academic/cblas/cblas.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/cblas/cblas.SlackBuild b/academic/cblas/cblas.SlackBuild
index ba8ce269aa628..d794e65868d82 100644
--- a/academic/cblas/cblas.SlackBuild
+++ b/academic/cblas/cblas.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cblas
SRCNAM=lapack
VERSION=${VERSION:-3.9.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}