OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # This is a small wrapper script around change_mach_o_flags.py allowing it to | 7 # This is a small wrapper script around change_mach_o_flags.py allowing it to |
8 # be invoked easily from Xcode. change_mach_o_flags.py expects its arguments | 8 # be invoked easily from Xcode. change_mach_o_flags.py expects its arguments |
9 # on the command line, but Xcode puts its parameters in the environment. | 9 # on the command line, but Xcode puts its parameters in the environment. |
10 | 10 |
11 set -e | 11 set -e |
12 | 12 |
13 exec "$(dirname "${0}")/change_mach_o_flags.py" \ | 13 exec "$(dirname "${0}")/change_mach_o_flags.py" \ |
| 14 "${@}" \ |
14 "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" | 15 "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" |
OLD | NEW |