OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 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 signs the Chromoting binaries, builds the Chrome Remote Desktop | 7 # This script signs the Chromoting binaries, builds the Chrome Remote Desktop |
8 # installer and then packages it into a .dmg. It requires that Iceberg be | 8 # installer and then packages it into a .dmg. It requires that Iceberg be |
9 # installed (for 'freeze'). | 9 # installed (for 'freeze'). |
10 # | 10 # |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 build_packages "${input_dir}" | 197 build_packages "${input_dir}" |
198 if [[ -n "${productsign_id}" ]]; then | 198 if [[ -n "${productsign_id}" ]]; then |
199 echo "Signing installer..." | 199 echo "Signing installer..." |
200 sign_installer "${input_dir}" "${keychain}" "${productsign_id}" | 200 sign_installer "${input_dir}" "${keychain}" "${productsign_id}" |
201 fi | 201 fi |
202 build_dmg "${input_dir}" "${output_dir}" | 202 build_dmg "${input_dir}" "${output_dir}" |
203 | 203 |
204 cleanup | 204 cleanup |
205 } | 205 } |
206 | 206 |
207 if [[ ${#} < 4 || ${#} > 5 ]]; then | 207 if [[ ${#} < 4 ]]; then |
208 usage | 208 usage |
209 exit 1 | 209 exit 1 |
210 fi | 210 fi |
211 | 211 |
212 main "${@}" | 212 main "${@}" |
213 exit ${?} | 213 exit ${?} |
OLD | NEW |