summaryrefslogtreecommitdiffstats
path: root/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild')
-rw-r--r--games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
index 6e061173f9..e7463f2354 100644
--- a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
+++ b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild
@@ -9,6 +9,8 @@
# VERSION is the date given on the upstream site, and also the timestamp
# of the zip file.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fortune-game_of_thrones
VERSION=${VERSION:-20170524}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}