Index: build/mac/tweak_app_infoplist |
=================================================================== |
--- build/mac/tweak_app_infoplist (revision 25024) |
+++ build/mac/tweak_app_infoplist (working copy) |
@@ -65,8 +65,6 @@ |
set -x |
-SRC_APP_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}" |
- |
if [ "${USE_SVN}" = "1" ] ; then |
# Visible in the about:version page. |
SVN_INFO=$(svn info "${TOP}" 2>/dev/null || true) |
@@ -103,10 +101,9 @@ |
# I really hate how "defaults" doesn't take a real pathname but instead insists |
# on appending ".plist" to everything. |
-INFO_PLIST_PATH="Contents/Info.plist" |
TMP_INFO_PLIST_DEFAULTS="${TEMP_DIR}/Info" |
TMP_INFO_PLIST="${TMP_INFO_PLIST_DEFAULTS}.plist" |
-cp "${SRC_APP_PATH}/${INFO_PLIST_PATH}" "${TMP_INFO_PLIST}" |
+cp "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" "${TMP_INFO_PLIST}" |
# Save off the Subversion revision number and source root path in case they're |
# needed. |
@@ -179,7 +176,7 @@ |
# applications use xml1 for this, so convert it back after whatever defaults |
# might have done. |
plutil -convert xml1 "${TMP_INFO_PLIST}" |
-cp "${TMP_INFO_PLIST}" "${SRC_APP_PATH}/${INFO_PLIST_PATH}" |
+cp "${TMP_INFO_PLIST}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" |
# Clean up. |
rm -f "${TMP_INFO_PLIST}" |