aboutsummaryrefslogtreecommitdiff
path: root/games/uqm/uqm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/uqm/uqm.SlackBuild')
-rw-r--r--games/uqm/uqm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild
index 9f527f429968..9d8719c345bf 100644
--- a/games/uqm/uqm.SlackBuild
+++ b/games/uqm/uqm.SlackBuild
@@ -16,6 +16,8 @@
# hasn't changed, so VERSION now has both versions. Also, moved
# the binary to /usr/games where it belongs.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uqm
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}