aboutsummaryrefslogtreecommitdiff
path: root/network/host-sflow/host-sflow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/host-sflow/host-sflow.SlackBuild')
-rw-r--r--network/host-sflow/host-sflow.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/host-sflow/host-sflow.SlackBuild b/network/host-sflow/host-sflow.SlackBuild
index 25ea438d66e1..6de531dd8d04 100644
--- a/network/host-sflow/host-sflow.SlackBuild
+++ b/network/host-sflow/host-sflow.SlackBuild
@@ -24,6 +24,8 @@
# 02/Apr/2018 * First version
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=host-sflow
VERSION=${VERSION:-2.0.15}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}