summaryrefslogtreecommitdiffstats
path: root/development/nchexedit/nchexedit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/nchexedit/nchexedit.SlackBuild')
-rw-r--r--development/nchexedit/nchexedit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/nchexedit/nchexedit.SlackBuild b/development/nchexedit/nchexedit.SlackBuild
index 095ab3b6cc..90445689b6 100644
--- a/development/nchexedit/nchexedit.SlackBuild
+++ b/development/nchexedit/nchexedit.SlackBuild
@@ -13,6 +13,8 @@
# We're using most of Debian's patches, the _5 in VERSION is their
# patchlevel.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nchexedit
VERSION=${VERSION:-0.9.7_5}
BUILD=${BUILD:-2}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}