summaryrefslogtreecommitdiffstats
path: root/games/zdoom/zdoom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/zdoom/zdoom.SlackBuild')
-rw-r--r--games/zdoom/zdoom.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/zdoom/zdoom.SlackBuild b/games/zdoom/zdoom.SlackBuild
index 73ad723189..304e728451 100644
--- a/games/zdoom/zdoom.SlackBuild
+++ b/games/zdoom/zdoom.SlackBuild
@@ -37,6 +37,8 @@
# but please do so quietly, as though you also had been compiled without
# sound support :)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zdoom
VERSION=${VERSION:-2.8.1}
BUILD=${BUILD:-1}
@@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}