summaryrefslogtreecommitdiffstats
path: root/games/notpacman/notpacman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/notpacman/notpacman.SlackBuild')
-rw-r--r--games/notpacman/notpacman.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/notpacman/notpacman.SlackBuild b/games/notpacman/notpacman.SlackBuild
index 8e181147b3..65749701d0 100644
--- a/games/notpacman/notpacman.SlackBuild
+++ b/games/notpacman/notpacman.SlackBuild
@@ -13,6 +13,8 @@
# that the unzip command can handle zipfiles with extra junk like a shebang
# at the beginning (it'll print a warning, is all).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=notpacman
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-2}
@@ -21,7 +23,6 @@ TAG=${TAG:-_SBo}
# *.love files are just zip files full of lua code, they're cross-platform
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}