summaryrefslogtreecommitdiff
path: root/misc/dwdiff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dwdiff')
-rw-r--r--misc/dwdiff/dwdiff.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild
index 7b69242ebb..ee731522e2 100644
--- a/misc/dwdiff/dwdiff.SlackBuild
+++ b/misc/dwdiff/dwdiff.SlackBuild
@@ -4,6 +4,8 @@
# Written by slakmagik <slakmagik@gmail.com>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dwdiff
VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}