aboutsummaryrefslogtreecommitdiff
path: root/games/xspacewarp/xspacewarp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xspacewarp/xspacewarp.SlackBuild')
-rw-r--r--games/xspacewarp/xspacewarp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xspacewarp/xspacewarp.SlackBuild b/games/xspacewarp/xspacewarp.SlackBuild
index efbd73c72d646..8b49a860fe312 100644
--- a/games/xspacewarp/xspacewarp.SlackBuild
+++ b/games/xspacewarp/xspacewarp.SlackBuild
@@ -39,6 +39,8 @@
# to quit the game (nothing mentioned in the 'Orientation', man page,
# or README).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xspacewarp
VERSION=${VERSION:-1.2b}
BUILD=${BUILD:-2}
@@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}