aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/higan/higan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild
index 8ec2caf76896..78f63a2b83ac 100644
--- a/games/higan/higan.SlackBuild
+++ b/games/higan/higan.SlackBuild
@@ -55,6 +55,8 @@
# - Add man pages. Note to SBo admins: please don't remove my *.rst man
# page sources!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=higan
VERSION=${VERSION:-106}
BUILD=${BUILD:-3}
@@ -73,7 +75,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}