summaryrefslogtreecommitdiffstats
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cc65/cc65.SlackBuild')
-rw-r--r--development/cc65/cc65.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index 6594c368e3..b0e70ce637 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -42,6 +42,8 @@
# the one from SBo's 14.1 repo if you need the old version for some
# reason. Source is created from a git checkout, see git2targz.sh.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cc65
VERSION=${VERSION:-2.19}
BUILD=${BUILD:-1}
@@ -55,7 +57,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}