aboutsummaryrefslogtreecommitdiff
path: root/network/netdiscover/netdiscover.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/netdiscover/netdiscover.SlackBuild')
-rw-r--r--network/netdiscover/netdiscover.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/netdiscover/netdiscover.SlackBuild b/network/netdiscover/netdiscover.SlackBuild
index a7645c625ea61..388d35e63c3a2 100644
--- a/network/netdiscover/netdiscover.SlackBuild
+++ b/network/netdiscover/netdiscover.SlackBuild
@@ -18,6 +18,8 @@
# 0. You just DO WHAT THE FUCK YOU WANT TO.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netdiscover
VERSION=${VERSION:-053dda2}
COMMIT=${COMMIT:-053dda2f3a8cdb749f8100735d78af427aa417b0}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}