aboutsummaryrefslogtreecommitdiff
path: root/academic/wxMaxima/wxMaxima.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/wxMaxima/wxMaxima.SlackBuild')
-rw-r--r--academic/wxMaxima/wxMaxima.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild
index fdb0e9acee27c..f55497e29e3c9 100644
--- a/academic/wxMaxima/wxMaxima.SlackBuild
+++ b/academic/wxMaxima/wxMaxima.SlackBuild
@@ -24,6 +24,8 @@
# Mar 2021 - updated for v. 21.01, Judah Milgram, milgram at cgpp com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxMaxima
SRCNAM=wxmaxima
VERSION=${VERSION:-21.01.0}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}