aboutsummaryrefslogtreecommitdiff
path: root/games/freeblocks/freeblocks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeblocks/freeblocks.SlackBuild')
-rw-r--r--games/freeblocks/freeblocks.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/freeblocks/freeblocks.SlackBuild b/games/freeblocks/freeblocks.SlackBuild
index 5d0a5608033b4..1213b84175eec 100644
--- a/games/freeblocks/freeblocks.SlackBuild
+++ b/games/freeblocks/freeblocks.SlackBuild
@@ -9,6 +9,8 @@
# 20170301 bkw:
# - use long-form github URL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freeblocks
VERSION=${VERSION:-0.5}
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}