aboutsummaryrefslogtreecommitdiff
path: root/games/dopewars/dopewars.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dopewars/dopewars.SlackBuild')
-rw-r--r--games/dopewars/dopewars.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/dopewars/dopewars.SlackBuild b/games/dopewars/dopewars.SlackBuild
index a4c3e3329eed6..d37d3dbff1b75 100644
--- a/games/dopewars/dopewars.SlackBuild
+++ b/games/dopewars/dopewars.SlackBuild
@@ -9,6 +9,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="dopewars"
VERSION=${VERSION:-1.5.12}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}