Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
| 2 | |
| 3 ME2ME_HOST="/Library/PrivilegedHelperTools/org.chromium.chromoting.me2me_host.ap p" | |
| 4 UNINSTALLER="/Applications/Chrome Remote Desktop Host Uninstaller.app" | |
| 5 PREFPANE="/Library/PreferencePanes/org.chromium.chromoting.prefPane" | |
| 6 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle" | |
| 7 | |
| 8 INFO_PLIST="Contents/Info.plist" | |
| 9 | |
| 10 set -e -u | |
| 11 | |
| 12 function print_plist_version { | |
| 13 local name="${1}" | |
| 14 local file="${2}" | |
| 15 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"` | |
| 16 echo "${name}" version = "${1}" | |
|
Jamie
2012/05/22 23:44:08
Nit: quotes around the whole string would be more
| |
| 17 } | |
| 18 | |
| 19 print_plist_version "Me2me host" "${ME2ME_HOST}" | |
| 20 print_plist_version "Uninstaller" "${UNINSTALLER}" | |
| 21 print_plist_version "PreferencePane" "${PREFPANE}" | |
| 22 print_plist_version "Keystone" "${KEYSTONE}" | |
| OLD | NEW |