| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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 script creates sign.sh, the script that will be used to sign the | 7 # This script creates sign.sh, the script that will be used to sign the |
| 8 # application bundle and inner bundles. It also creates auxiliary files that | 8 # application bundle and inner bundles. It also creates auxiliary files that |
| 9 # sign.sh needs to do its job, such as the custom resource rules used to sign | 9 # sign.sh needs to do its job, such as the custom resource rules used to sign |
| 10 # the outermost application bundle. These files are placed in the Packaging | 10 # the outermost application bundle. These files are placed in the Packaging |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 -e "s/@VERSION_REGEX@/${VERSION_REGEX}/g" \ | 39 -e "s/@VERSION_REGEX@/${VERSION_REGEX}/g" \ |
| 40 < "${SIGN_SH_IN_FILE}" \ | 40 < "${SIGN_SH_IN_FILE}" \ |
| 41 > "${SIGN_SH_FILE}" | 41 > "${SIGN_SH_FILE}" |
| 42 chmod +x "${SIGN_SH_FILE}" | 42 chmod +x "${SIGN_SH_FILE}" |
| 43 | 43 |
| 44 sed -e "s/@MAC_PRODUCT_NAME@/${MAC_PRODUCT_NAME}/g" \ | 44 sed -e "s/@MAC_PRODUCT_NAME@/${MAC_PRODUCT_NAME}/g" \ |
| 45 -e "s/@VERSION@/${VERSION}/g" \ | 45 -e "s/@VERSION@/${VERSION}/g" \ |
| 46 -e "s/@VERSION_REGEX@/${VERSION_REGEX}/g" \ | 46 -e "s/@VERSION_REGEX@/${VERSION_REGEX}/g" \ |
| 47 < "${BROWSER_APP_RULES_IN_FILE}" \ | 47 < "${BROWSER_APP_RULES_IN_FILE}" \ |
| 48 > "${BROWSER_APP_RULES_FILE}" | 48 > "${BROWSER_APP_RULES_FILE}" |
| OLD | NEW |