aboutsummaryrefslogtreecommitdiff
path: root/network/cacti/cacti.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/cacti/cacti.SlackBuild')
-rw-r--r--network/cacti/cacti.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/cacti/cacti.SlackBuild b/network/cacti/cacti.SlackBuild
index b86932b8c74f1..f921cc3e479f9 100644
--- a/network/cacti/cacti.SlackBuild
+++ b/network/cacti/cacti.SlackBuild
@@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cacti
VERSION=${VERSION:-1.1.38}
ARCH=noarch
@@ -33,7 +35,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}