aboutsummaryrefslogtreecommitdiff
path: root/network/nethogs/nethogs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nethogs/nethogs.SlackBuild')
-rw-r--r--network/nethogs/nethogs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nethogs/nethogs.SlackBuild b/network/nethogs/nethogs.SlackBuild
index 86d0205775721..5e1fa301dc355 100644
--- a/network/nethogs/nethogs.SlackBuild
+++ b/network/nethogs/nethogs.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
# sed in SLKCFLAGS and removed template left-overs.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nethogs
VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}