aboutsummaryrefslogtreecommitdiff
path: root/development/patchutils/patchutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/patchutils/patchutils.SlackBuild')
-rw-r--r--development/patchutils/patchutils.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/patchutils/patchutils.SlackBuild b/development/patchutils/patchutils.SlackBuild
index 57bf14c44b4f4..692afa417b588 100644
--- a/development/patchutils/patchutils.SlackBuild
+++ b/development/patchutils/patchutils.SlackBuild
@@ -24,6 +24,8 @@
# Updated by Donald Cooley <dfc@warpmail.net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=patchutils
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}