aboutsummaryrefslogtreecommitdiff
path: root/games/tanglet/tanglet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/tanglet/tanglet.SlackBuild')
-rw-r--r--games/tanglet/tanglet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tanglet/tanglet.SlackBuild b/games/tanglet/tanglet.SlackBuild
index fed2d76628d9d..1f77e60bfcdef 100644
--- a/games/tanglet/tanglet.SlackBuild
+++ b/games/tanglet/tanglet.SlackBuild
@@ -27,6 +27,8 @@
# Build script for tanglet
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tanglet
VERSION=${VERSION:-1.5.3}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}