diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 05:48:42 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 05:48:42 +0000 |
commit | f75c8f13b967b01babc9454506e9d2ed00519e39 (patch) | |
tree | bfd992ab594c3b77123f39da4a897a01d0d48ad2 /chrome/chrome.gyp | |
parent | b3167e7f0b780992cf4d44bf983cf880831d0699 (diff) | |
download | chromium_src-f75c8f13b967b01babc9454506e9d2ed00519e39.zip chromium_src-f75c8f13b967b01babc9454506e9d2ed00519e39.tar.gz chromium_src-f75c8f13b967b01babc9454506e9d2ed00519e39.tar.bz2 |
Fix "line 2: BUILT_PRODUCTS_DIR: command not found". <(PRODUCT_DIR) expands
to an Xcode variable, $(BUILT_PRODUCTS_DIR), which is not a shell variable.
The shell tries to treat it as a command expansion. Use ${BUILT_PRODUCTS_DIR}
directly.
BUG=none
TEST=Nico
Review URL: http://codereview.chromium.org/353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rwxr-xr-x | chrome/chrome.gyp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index d762305..fe770c7 100755 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -3738,10 +3738,12 @@ { # TODO(tony): Remove this after Nov 13, 2009. 'postbuild_name': 'cleanup_theme_pak', - 'action': ['rm', '-f', - '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Versions' - '/<(version_full)/<(mac_product_name) Framework.framework/' - 'Resources/theme.pak'], + 'action': [ + 'rm', '-f', + '${BUILT_PRODUCTS_DIR}/<(mac_product_name).app/Contents/' + 'Versions/<(version_full)/' + '<(mac_product_name) Framework.framework/Resources/theme.pak' + ], }, ], # postbuilds }, { # else: OS != "mac" |