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