| 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 set -eu | 7 set -eu |
| 8 | 8 |
| 9 # A helper script to help convert the values of the fifth parameter for | 9 # A helper script to help convert the values of the last parameter for |
| 10 # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'. | 10 # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'. |
| 11 # It's used by content/content_shell.gypi | 11 # It's used by content/content_shell.gypi |
| 12 | 12 |
| 13 buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')" | 13 buildtype="$(echo "${12}" | tr '[A-Z]' '[a-z]')" |
| 14 | 14 |
| 15 # TODO(yongsheng): enable build type by adding "${buildtype}" into the | 15 # TODO(yongsheng): enable build type by adding "${buildtype}" into the |
| 16 # end of parameter list once the workflow is ready to support release | 16 # end of parameter list once the workflow is ready to support release |
| 17 # mode. | 17 # mode. |
| 18 exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" | 18 exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}"\ |
| 19 "${11}" |
| OLD | NEW |