OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 |
| 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 # Clean up the old .lproj structure, where English was in en_US.lproj, and |
| 8 # en.lproj was a symbolic link. |
| 9 # |
| 10 # TODO(mark): Remove after November 17, 2009, allowing two weeks for the |
| 11 # transition. |
| 12 |
| 13 RESOURCES_DIR="${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources" |
| 14 |
| 15 # Always dump en_US.lproj. |
| 16 rm -rf "${RESOURCES_DIR}/en_US.lproj" |
| 17 |
| 18 # Only dump en.lproj if it's a symbolic link. If it's a directory, then the |
| 19 # transition has already been performed. |
| 20 if [ -L "${RESOURCES_DIR}/en.lproj" ] ; then |
| 21 rm -f "${RESOURCES_DIR}/en.lproj" |
| 22 fi |
OLD | NEW |