diff options
Diffstat (limited to 'chrome/app')
-rwxr-xr-x | chrome/app/tweak_mac_lproj_folders | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/app/tweak_mac_lproj_folders b/chrome/app/tweak_mac_lproj_folders new file mode 100755 index 0000000..d15c858 --- /dev/null +++ b/chrome/app/tweak_mac_lproj_folders @@ -0,0 +1,22 @@ +#!/bin/sh + +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# This script is intended to run from a "postbuild" action from within Xcode. +# It will create any symlinks needed to sync up what comes from the GRIT files +# with what Cocoa would like. + +set -e + +# Working in the resources directory +cd "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents/Resources" + +# Remove the stale zh.lproj +# TODO: This can go away about 09/01/09, when they won't exist on the bots or +# developers' local builds. +rm -rf "zh.lproj" "en.lproj" + +# Provide an link for en.lproj that points to en-US.lproj. +ln -fhs "en-US.lproj" "en.lproj" |