aboutsummaryrefslogtreecommitdiff
path: root/games/torcs/torcs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/torcs/torcs.SlackBuild')
-rw-r--r--games/torcs/torcs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild
index 568dd86c9da4..0b59ca219af3 100644
--- a/games/torcs/torcs.SlackBuild
+++ b/games/torcs/torcs.SlackBuild
@@ -8,6 +8,8 @@
# 20170704 bkw: fix build on -current
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=torcs
VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}