Commit a221822f authored by Martin Kreichgauer's avatar Martin Kreichgauer Committed by Commit Bot

chrome/installer/mac: set -x in sign_app and fix unquoted variable expansion

Bug: 850461
Change-Id: I30d871ce3740e1e7365bb74b0d08f46b93981772
Reviewed-on: https://chromium-review.googlesource.com/1091955Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Cr-Commit-Position: refs/heads/master@{#565501}
parent cc0d13f3
......@@ -9,7 +9,7 @@
# verified. Inner bundle components are expected to be signed before this
# script is called. See sign_versioned_dir.sh.in.
set -eu
set -eux
# Environment sanitization. Set a known-safe PATH. Clear environment variables
# that might impact the interpreter's operation. The |bash -p| invocation
......@@ -59,7 +59,7 @@ app_mode_loader_app="${framework}/Resources/app_mode_loader.app"
app_mode_loader="${app_mode_loader_app}/Contents/MacOS/app_mode_loader"
# Embed the supplied provisioning profile.
cp ${provisioning_profile} "${contents_dir}/embedded.mobileprovision"
cp "${provisioning_profile}" "${contents_dir}/embedded.mobileprovision"
requirement="\
designated => \
......
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