aboutsummaryrefslogtreecommitdiff
path: root/games/doomretro/doomretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/doomretro/doomretro.SlackBuild')
-rw-r--r--games/doomretro/doomretro.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild
index 732e2d15a653e..3569c2a9a6949 100644
--- a/games/doomretro/doomretro.SlackBuild
+++ b/games/doomretro/doomretro.SlackBuild
@@ -41,6 +41,8 @@
# have to use a wrapper script to make it act like a normal Doom engine...
# *** RANT MODE OFF***
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=doomretro
VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
@@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}