aboutsummaryrefslogtreecommitdiff
path: root/academic/tilem2/tilem2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/tilem2/tilem2.SlackBuild')
-rw-r--r--academic/tilem2/tilem2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/tilem2/tilem2.SlackBuild b/academic/tilem2/tilem2.SlackBuild
index 454070e99e40d..553c66d5a2a45 100644
--- a/academic/tilem2/tilem2.SlackBuild
+++ b/academic/tilem2/tilem2.SlackBuild
@@ -22,6 +22,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tilem2
SRCNAM=tilem
VERSION=${VERSION:-2.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}