aboutsummaryrefslogtreecommitdiff
path: root/development/bsdiff/bsdiff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/bsdiff/bsdiff.SlackBuild')
-rw-r--r--development/bsdiff/bsdiff.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/bsdiff/bsdiff.SlackBuild b/development/bsdiff/bsdiff.SlackBuild
index caf239c790446..1b4551b365cac 100644
--- a/development/bsdiff/bsdiff.SlackBuild
+++ b/development/bsdiff/bsdiff.SlackBuild
@@ -30,6 +30,8 @@
# - Simplify script a bit.
# - Get rid of Makefile.diff.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bsdiff
VERSION=${VERSION:-4.3}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}