Commit 547afaf5 authored by Michael Chang's avatar Michael Chang Committed by Commit Bot

Fix macOS install script PRODUCT_NAME

For getting the right value, the bash script needed
proper quoting. Without it, defaultd did not give
a correct value.

Bug: 1109362
Change-Id: I80239c5e816ffe3702aa48190f1750c81cf40511
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2318000Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
Commit-Queue: Michael Chang <donchan@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#792770}
parent e913d53b
......@@ -303,7 +303,7 @@ main() {
readonly APP_PLIST="${CONTENTS_DIR}/Info"
readonly BUNDLE_NAME_KEY="CFBundleDisplayName"
readonly PRODUCT_NAME=\
"$(infoplist_read ${APP_DIR}/${APP_PLIST} ${BUNDLE_NAME_KEY})"
"$(infoplist_read "${installed_app_path}/${APP_PLIST}" "${BUNDLE_NAME_KEY}")"
readonly FRAMEWORK_NAME="${PRODUCT_NAME} Framework"
readonly FRAMEWORK_DIR="${FRAMEWORK_NAME}.framework"
readonly VERSIONS_DIR_NEW=\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment