aboutsummaryrefslogtreecommitdiff
path: root/network/nfdump/nfdump.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nfdump/nfdump.SlackBuild')
-rw-r--r--network/nfdump/nfdump.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nfdump/nfdump.SlackBuild b/network/nfdump/nfdump.SlackBuild
index b416ffbc649f2..197ed8709f656 100644
--- a/network/nfdump/nfdump.SlackBuild
+++ b/network/nfdump/nfdump.SlackBuild
@@ -24,6 +24,8 @@
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nfdump
VERSION=${VERSION:-1.6.13}
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}