summaryrefslogtreecommitdiff
path: root/network/dnstracer
diff options
context:
space:
mode:
Diffstat (limited to 'network/dnstracer')
-rw-r--r--network/dnstracer/dnstracer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/dnstracer/dnstracer.SlackBuild b/network/dnstracer/dnstracer.SlackBuild
index 4426762226..42b5f7ea71 100644
--- a/network/dnstracer/dnstracer.SlackBuild
+++ b/network/dnstracer/dnstracer.SlackBuild
@@ -9,6 +9,8 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnstracer
VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}