summaryrefslogtreecommitdiffstats
path: root/games/commandergenius/commandergenius.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/commandergenius/commandergenius.SlackBuild')
-rw-r--r--games/commandergenius/commandergenius.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild
index 1f351795c2..7f11b59f76 100644
--- a/games/commandergenius/commandergenius.SlackBuild
+++ b/games/commandergenius/commandergenius.SlackBuild
@@ -31,6 +31,8 @@
# - use github long-form URL
# 20170122 bkw: updated for 1.9.8.1beta.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=commandergenius
VERSION=${VERSION:-2.7.7}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}