aboutsummaryrefslogtreecommitdiff
path: root/academic/mathomatic/mathomatic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/mathomatic/mathomatic.SlackBuild')
-rw-r--r--academic/mathomatic/mathomatic.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/mathomatic/mathomatic.SlackBuild b/academic/mathomatic/mathomatic.SlackBuild
index 5167a7b75da41..d743c6b5efe7a 100644
--- a/academic/mathomatic/mathomatic.SlackBuild
+++ b/academic/mathomatic/mathomatic.SlackBuild
@@ -24,6 +24,8 @@
#
# Originally written by Dylan Armitage <d.armitage89@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mathomatic
VERSION=${VERSION:-16.0.5}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}