aboutsummaryrefslogtreecommitdiff
path: root/games/jfsw/jfsw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/jfsw/jfsw.SlackBuild')
-rw-r--r--games/jfsw/jfsw.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild
index 73e59cb6c10e2..0a05f39128705 100644
--- a/games/jfsw/jfsw.SlackBuild
+++ b/games/jfsw/jfsw.SlackBuild
@@ -36,6 +36,8 @@
# package (you could build just fine with any VERSION so long as the
# .info file is correct).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jfsw
VERSION=${VERSION:-20180424_8fc2d54}
BUILD=${BUILD:-2}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}