From aea54a175c420bb4da44e675ea82e86b4958e64f Mon Sep 17 00:00:00 2001 From: "jamiewalch@chromium.org" Date: Mon, 14 May 2012 21:05:29 +0000 Subject: Use PlistBuddy instead of defaults. BUG=125998 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10384138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136981 0039d316-1c4b-4281-b951-d872f2087c98 --- .../mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh b/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh index 4f607eb..664087b 100755 --- a/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh +++ b/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh @@ -7,7 +7,7 @@ NAME=org.chromium.chromoting CONFIG_DIR=/Library/PrivilegedHelperTools HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host -PLIST_BASE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info +PLIST_FILE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info.plist ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled CONFIG_FILE=$CONFIG_DIR/$NAME.json @@ -84,7 +84,7 @@ elif [[ "$1" = "--save-config" ]]; then echo $$ cat > "$CONFIG_FILE" elif [[ "$1" = "--host-version" ]]; then - defaults read "$PLIST_BASE" CFBundleVersion + PlistBuddy -c "Print CFBundleVersion" "$PLIST_FILE" elif [[ "$1" = "--run-from-launchd" ]]; then run_host else -- cgit v1.1