summaryrefslogtreecommitdiffstats
path: root/games/typhoon_2001/typhoon_2001.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/typhoon_2001/typhoon_2001.SlackBuild')
-rw-r--r--games/typhoon_2001/typhoon_2001.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/typhoon_2001/typhoon_2001.SlackBuild b/games/typhoon_2001/typhoon_2001.SlackBuild
index 6fac72b070..9cabf530a2 100644
--- a/games/typhoon_2001/typhoon_2001.SlackBuild
+++ b/games/typhoon_2001/typhoon_2001.SlackBuild
@@ -11,6 +11,8 @@
# typhoon.cfg needs to be a real file and be writable by the user.
# (it will be created the first time the game is run).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=typhoon_2001
VERSION=${VERSION:-r3992}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ TAG=${TAG:-_SBo}
# so the check is gone and the ARCH is hardcoded.
ARCH=i586
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}