summaryrefslogtreecommitdiffstats
path: root/games/blobwars/blobwars.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/blobwars/blobwars.SlackBuild')
-rw-r--r--games/blobwars/blobwars.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild
index 56233c93e5..0d95a79bfe 100644
--- a/games/blobwars/blobwars.SlackBuild
+++ b/games/blobwars/blobwars.SlackBuild
@@ -9,6 +9,8 @@
# desktop icons etc. and mskefile includes DESTDIR support.
# doc dir still gets fixed for slackware defaults.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=blobwars
VERSION=${VERSION:-2.00}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}