aboutsummaryrefslogtreecommitdiff
path: root/development/bmake/bmake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/bmake/bmake.SlackBuild')
-rw-r--r--development/bmake/bmake.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/bmake/bmake.SlackBuild b/development/bmake/bmake.SlackBuild
index 00209889db60..077cc843a1f1 100644
--- a/development/bmake/bmake.SlackBuild
+++ b/development/bmake/bmake.SlackBuild
@@ -34,6 +34,8 @@
# give you a parallel build, but it does break the 'make test'
# portion of the bmake build.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bmake
VERSION=${VERSION:-20201010}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}