aboutsummaryrefslogtreecommitdiff
path: root/network/wireshark/wireshark.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wireshark/wireshark.SlackBuild')
-rw-r--r--network/wireshark/wireshark.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index aa8ea10317afd..c308cbd948178 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -29,6 +29,8 @@
# Modified by Mario Preksavec <mario@slackware.hr>
# Modified by B. Watson <yalhcru@gmail.com> to add lua52 support.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wireshark
VERSION=${VERSION:-3.4.6}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}