aboutsummaryrefslogtreecommitdiff
path: root/network/awstats/awstats.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/awstats/awstats.SlackBuild')
-rw-r--r--network/awstats/awstats.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild
index 4984e5f6713b5..4bd4611b9cb24 100644
--- a/network/awstats/awstats.SlackBuild
+++ b/network/awstats/awstats.SlackBuild
@@ -27,6 +27,8 @@
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="awstats"
VERSION=${VERSION:-7.7}
# hardcode ARCH
@@ -39,7 +41,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
AWUSER=${AWUSER:-root}
AWGROUP=${AWGROUP:-apache}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}