aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/macosx')
-rwxr-xr-xpackaging/macosx/Resources/bin/wireshark2
-rwxr-xr-xpackaging/macosx/utility-launcher2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/macosx/Resources/bin/wireshark b/packaging/macosx/Resources/bin/wireshark
index f8f0e2bc92..5b07b0f636 100755
--- a/packaging/macosx/Resources/bin/wireshark
+++ b/packaging/macosx/Resources/bin/wireshark
@@ -16,7 +16,7 @@ TOP="`dirname \"$CWD\"`"
# We might be exec'ed from wireshark, tshark, dumpcap, or any other binary
# from the Wireshark distribution.
# XXX - Should we verify that we have a valid name?
-APPNAME=`basename $0`
+APPNAME=`basename "$0"`
# Brutally add many things to the PATH. If the directories do not exist, they won't be used anyway.
# People should really use ~/.macosx/environment.plist to set environment variables as explained by Apple:
diff --git a/packaging/macosx/utility-launcher b/packaging/macosx/utility-launcher
index bff75b2da8..c42a64be87 100755
--- a/packaging/macosx/utility-launcher
+++ b/packaging/macosx/utility-launcher
@@ -14,6 +14,6 @@ if [ ! -d "$WIRESHARK_APP_DIR" ] ; then
exit 1
fi
-APPNAME=`basename $0`
+APPNAME=`basename "$0"`
exec "$WIRESHARK_APP_DIR/Contents/Resources/bin/$APPNAME" "$@"