aboutsummaryrefslogtreecommitdiff
path: root/games/wmquake/wmquake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/wmquake/wmquake.SlackBuild')
-rw-r--r--games/wmquake/wmquake.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/wmquake/wmquake.SlackBuild b/games/wmquake/wmquake.SlackBuild
index 042a5b77a17d0..cc75c11d48e90 100644
--- a/games/wmquake/wmquake.SlackBuild
+++ b/games/wmquake/wmquake.SlackBuild
@@ -37,6 +37,8 @@
# - install binary in /usr/libexec, *not /usr/share*! Dammit!
# - fix wrapper script to run in user's homedir
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmquake
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-2}
@@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}