aboutsummaryrefslogtreecommitdiff
path: root/system/kapacitor
diff options
context:
space:
mode:
Diffstat (limited to 'system/kapacitor')
-rw-r--r--system/kapacitor/kapacitor.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/kapacitor/kapacitor.SlackBuild b/system/kapacitor/kapacitor.SlackBuild
index 23cb4d5a7ef2d..be1b72f600962 100644
--- a/system/kapacitor/kapacitor.SlackBuild
+++ b/system/kapacitor/kapacitor.SlackBuild
@@ -22,6 +22,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=kapacitor
VERSION=${VERSION:-1.5.9}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ elif ! getent passwd $PRGNAM; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}