aboutsummaryrefslogtreecommitdiff
path: root/network/bozohttpd/bozohttpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/bozohttpd/bozohttpd.SlackBuild')
-rw-r--r--network/bozohttpd/bozohttpd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/bozohttpd/bozohttpd.SlackBuild b/network/bozohttpd/bozohttpd.SlackBuild
index 04dff90c52e6e..be5fb9bd147a6 100644
--- a/network/bozohttpd/bozohttpd.SlackBuild
+++ b/network/bozohttpd/bozohttpd.SlackBuild
@@ -46,6 +46,8 @@
# - Tweak man page, de-NetBSDify the pathnames.
# - Simplify script a bit.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bozohttpd
VERSION=${VERSION:-20201014}
BUILD=${BUILD:-1}
@@ -59,7 +61,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}