summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/httpd/httpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/httpd/httpd.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/httpd/httpd.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/n/httpd/httpd.SlackBuild b/slackware64-current/source/n/httpd/httpd.SlackBuild
index 12ef5fcfa..decce4b62 100755
--- a/slackware64-current/source/n/httpd/httpd.SlackBuild
+++ b/slackware64-current/source/n/httpd/httpd.SlackBuild
@@ -23,6 +23,7 @@
# This script was written using the one from slackbuilds.org as a reference,
# so thanks to Adis Nezirovic ( adis _at_ linux.org.ba ) for the original work.
+cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=httpd
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -40,7 +41,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG