summaryrefslogtreecommitdiff
path: root/games/dustrac
diff options
context:
space:
mode:
Diffstat (limited to 'games/dustrac')
-rw-r--r--games/dustrac/dustrac.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/dustrac/dustrac.SlackBuild b/games/dustrac/dustrac.SlackBuild
index d4d564dfe8..b305f98cba 100644
--- a/games/dustrac/dustrac.SlackBuild
+++ b/games/dustrac/dustrac.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM=DustRacing2D
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dustrac
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}