Fix quoting.
authorGuy Harris <guy@alum.mit.edu>
Mon, 22 Oct 2018 07:35:29 +0000 (00:35 -0700)
committerGuy Harris <guy@alum.mit.edu>
Mon, 22 Oct 2018 07:36:01 +0000 (07:36 +0000)
Change-Id: I3a0a8c661b1fec2ea4475eb9fe1d5c8a8ed7bbb5
Reviewed-on: https://code.wireshark.org/review/30328
Reviewed-by: Guy Harris <guy@alum.mit.edu>
packaging/macosx/Scripts/wireshark-postinstall.sh

index 98667c43e17141565a986d1426f7f24c21ece2ab..a29c8c335033294ddd745ba9128a920e7e73994c 100755 (executable)
@@ -46,11 +46,11 @@ echo $WSMANPATH > /etc/manpaths.d/Wireshark
 # X11, and haven't used it since Wireshark 2.0, so we don't need it.
 #
 XQUARTZ_FIXER_PLIST="/Library/LaunchDaemons/org.wireshark.XQuartzFixer.plist"
-if [ -e "$XQUARTZ_FIXER_PLIST ]
+if [ -e "$XQUARTZ_FIXER_PLIST" ]
 then
-       launchctl unload $XQUARTZ_FIXER_PLIST
-       rm -rf /Library/Application Support/Wireshark/XQuartzFixer
-       rm -f $XQUARTZ_FIXER_PLIST
+       launchctl unload "$XQUARTZ_FIXER_PLIST"
+       rm -rf "/Library/Application Support/Wireshark/XQuartzFixer"
+       rm -f "$XQUARTZ_FIXER_PLIST"
 fi
 
 #