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 # This script is intended to run from a "postbuild" action from within Xcode. |
| 8 # It sets up symbolic links for an app bundle's Resources and Frameworks |
| 9 # directories. This is intended to be used for app bundles that live within |
| 10 # the Resources directory of a larger app bundle, when the sub-app's |
| 11 # Resources and Frameworks directories should point to the enclosing app's. |
| 12 |
| 13 set -e |
| 14 |
| 15 CONTENTS_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents" |
| 16 |
| 17 ln -fhs ../.. "${CONTENTS_PATH}/Resources" |
| 18 ln -fhs ../../../Frameworks "${CONTENTS_PATH}/Frameworks" |
OLD | NEW |