Fix the utility-launcher to look at the name it's run as.
If it's run as "tshark", it should run TShark, not Wireshark. Bug: 14643 Change-Id: I0d4e6fa64e42b7a2e2d4b89b53db62748b4f288d Reviewed-on: https://code.wireshark.org/review/27245 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
44537199a2
commit
737270dc8c
|
@ -16,4 +16,8 @@ if [ ! -d "$WIRESHARK_APP_DIR" ] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
exec "$WIRESHARK_APP_DIR/Contents/MacOS/Wireshark" "$@"
|
||||
APP_NAME=`basename "$0"`
|
||||
if [ "$APP_NAME" = "wireshark" ] ; then
|
||||
APP_NAME=Wireshark
|
||||
fi
|
||||
exec "$WIRESHARK_APP_DIR/Contents/MacOS/$APP_NAME" "$@"
|
||||
|
|
Loading…
Reference in New Issue