1ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org#!/bin/bash 2ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org# Copyright (c) 2012 Google Inc. All rights reserved. 3ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org# Use of this source code is governed by a BSD-style license that can be 4ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org# found in the LICENSE file. 5ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org 6ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.orgset -e 7ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.org 806bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.org# This is the built Info.plist in the output directory. 9ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.orgPLIST="${BUILT_PRODUCTS_DIR}"/Test.app/Contents/Info # No trailing .plist 10ec80588cd94cac00009694ab4c91a38e38bcda87thakis@chromium.orgecho $(defaults read "${PLIST}" "CFBundleName") > "${BUILT_PRODUCTS_DIR}/result" 1106bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.org 1206bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.org# This is the source Info.plist next to this script file. 1306bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.orgPLIST="${SRCROOT}"/Info # No trailing .plist 1406bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.orgecho $(defaults read "${PLIST}" "CFBundleName") \ 1506bb1b70edfe30b4959b6e34d64de671379a10ffthakis@chromium.org >> "${BUILT_PRODUCTS_DIR}/result" 16