summaryrefslogtreecommitdiffstats
path: root/games/xarchon/xarchon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xarchon/xarchon.SlackBuild')
-rw-r--r--games/xarchon/xarchon.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xarchon/xarchon.SlackBuild b/games/xarchon/xarchon.SlackBuild
index fb09b08c02..807be58595 100644
--- a/games/xarchon/xarchon.SlackBuild
+++ b/games/xarchon/xarchon.SlackBuild
@@ -13,6 +13,8 @@
# further note, written later: no, Adept is nowhere near complete or
# playable. So I'm patching the game to remove the menu option for it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xarchon
VERSION=${VERSION:-0.60}
BUILD=${BUILD:-2}
@@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}