aboutsummaryrefslogtreecommitdiff
path: root/games/doomsday/doomsday.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/doomsday/doomsday.SlackBuild')
-rw-r--r--games/doomsday/doomsday.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/doomsday/doomsday.SlackBuild b/games/doomsday/doomsday.SlackBuild
index ef1ad01ea1ce..72367234cf5d 100644
--- a/games/doomsday/doomsday.SlackBuild
+++ b/games/doomsday/doomsday.SlackBuild
@@ -44,6 +44,8 @@
# that, do all of the above, then hand off maintenance to someone
# who can afford a shinier newer video card than I can.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=doomsday
SRCNAM=${PRGNAM}-stable
VERSION=${VERSION:-1.15.8}
@@ -58,7 +60,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}