aboutsummaryrefslogtreecommitdiff
path: root/games/ufoai
diff options
context:
space:
mode:
Diffstat (limited to 'games/ufoai')
-rw-r--r--games/ufoai/ufoai.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/ufoai/ufoai.SlackBuild b/games/ufoai/ufoai.SlackBuild
index abfc009447ef3..ca89aec1de032 100644
--- a/games/ufoai/ufoai.SlackBuild
+++ b/games/ufoai/ufoai.SlackBuild
@@ -32,6 +32,8 @@
# - allow building the radiant editor. I have no idea if it's working
# correctly, since I have no idea how to use it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ufoai
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-2}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}