summaryrefslogtreecommitdiffstats
path: root/games/xroar/xroar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r--games/xroar/xroar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild
index 6361c5f586..687e53d3be 100644
--- a/games/xroar/xroar.SlackBuild
+++ b/games/xroar/xroar.SlackBuild
@@ -37,6 +37,8 @@
# 20170122 bkw: update for 0.34.7
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xroar
VERSION=${VERSION:-0.36.2}
BUILD=${BUILD:-1}
@@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}