summaryrefslogtreecommitdiffstats
path: root/games/pacman/pacman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pacman/pacman.SlackBuild')
-rw-r--r--games/pacman/pacman.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/pacman/pacman.SlackBuild b/games/pacman/pacman.SlackBuild
index 7ee18f6a91..3f2289b0a4 100644
--- a/games/pacman/pacman.SlackBuild
+++ b/games/pacman/pacman.SlackBuild
@@ -32,6 +32,8 @@
# 20180924 azure:
# - add NUMJOBS on 'make'.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pacman
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-2}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}