aboutsummaryrefslogtreecommitdiff
path: root/games/unvanquished/unvanquished.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/unvanquished/unvanquished.SlackBuild')
-rw-r--r--games/unvanquished/unvanquished.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/unvanquished/unvanquished.SlackBuild b/games/unvanquished/unvanquished.SlackBuild
index b8629b4551fab..e9b5d26da1cd8 100644
--- a/games/unvanquished/unvanquished.SlackBuild
+++ b/games/unvanquished/unvanquished.SlackBuild
@@ -28,6 +28,8 @@
# - add sysctl stuff to let the game actually start up
# Apparently this build never worked and nobody noticed.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unvanquished
VERSION=${VERSION:-0.50.0}
BUILD=${BUILD:-2}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}