aboutsummaryrefslogtreecommitdiff
path: root/development/z88dk
diff options
context:
space:
mode:
Diffstat (limited to 'development/z88dk')
-rw-r--r--development/z88dk/z88dk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild
index c59293faee35..87318d4bc8f1 100644
--- a/development/z88dk/z88dk.SlackBuild
+++ b/development/z88dk/z88dk.SlackBuild
@@ -13,6 +13,8 @@
# to have a C compiler that targets Pac-Man arcade hardware (the 1.99B
# release doesn't, current git does).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=z88dk
VERSION=${VERSION:-1.99B}
BUILD=${BUILD:-1}
@@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}