summaryrefslogtreecommitdiffstats
path: root/games/maelstrom/maelstrom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/maelstrom/maelstrom.SlackBuild')
-rw-r--r--games/maelstrom/maelstrom.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/maelstrom/maelstrom.SlackBuild b/games/maelstrom/maelstrom.SlackBuild
index e24d72c8f0..8c8134b270 100644
--- a/games/maelstrom/maelstrom.SlackBuild
+++ b/games/maelstrom/maelstrom.SlackBuild
@@ -14,6 +14,8 @@
# - Remove warnings about multiplayer not working on 64-bit, it
# works now.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maelstrom
VERSION=${VERSION:-3.0.6}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}