aboutsummaryrefslogtreecommitdiff
path: root/network/ngrep
diff options
context:
space:
mode:
Diffstat (limited to 'network/ngrep')
-rw-r--r--network/ngrep/ngrep.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild
index 4361ab3e8f0f..be50b492336a 100644
--- a/network/ngrep/ngrep.SlackBuild
+++ b/network/ngrep/ngrep.SlackBuild
@@ -4,6 +4,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ngrep
VERSION=${VERSION:-1.45}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}