aboutsummaryrefslogtreecommitdiff
path: root/system/collectd/collectd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/collectd/collectd.SlackBuild')
-rw-r--r--system/collectd/collectd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/collectd/collectd.SlackBuild b/system/collectd/collectd.SlackBuild
index ca673c26b3367..91028385dd281 100644
--- a/system/collectd/collectd.SlackBuild
+++ b/system/collectd/collectd.SlackBuild
@@ -12,6 +12,8 @@
# Copyright (c) 2017-2019, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=collectd
VERSION=${VERSION:-5.10.0}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}