summaryrefslogtreecommitdiffstats
path: root/games/bloodfrontier/bloodfrontier.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/bloodfrontier/bloodfrontier.SlackBuild')
-rw-r--r--games/bloodfrontier/bloodfrontier.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/bloodfrontier/bloodfrontier.SlackBuild b/games/bloodfrontier/bloodfrontier.SlackBuild
index a960641dc6..cbce87ab4a 100644
--- a/games/bloodfrontier/bloodfrontier.SlackBuild
+++ b/games/bloodfrontier/bloodfrontier.SlackBuild
@@ -8,6 +8,8 @@
# Written by Matteo Bernardini <ponce@slackbuilds.org>
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bloodfrontier
VERSION=${VERSION:-0.85}
SVERSION=${SVERSION:-B2}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}