diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-28 21:53:39 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-28 21:53:39 +0000 |
commit | baa7a6181e1eda04a6db8f4c09d7400edb8c4615 (patch) | |
tree | b26b3465b223bddea5f7d086caef9c96e7d59be0 /packaging/macosx | |
parent | c5e01128110c44d44c4d4322f2a362d2441b7b16 (diff) |
Fix bug 2844:
Make the OSX application launch when having space in the path.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26612 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packaging/macosx')
-rwxr-xr-x | packaging/macosx/Resources/bin/wireshark | 2 | ||||
-rwxr-xr-x | packaging/macosx/utility-launcher | 2 |
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" "$@" |