| Index: content/shell/content_shell_ant_helper.sh
|
| diff --git a/content/shell/content_shell_ant_helper.sh b/content/shell/content_shell_ant_helper.sh
|
| index 9a013c71d3a6639d19aa44952a654fba91cd29ac..0008a65b7c5f6fd7e576d1386abaeefba34518ed 100755
|
| --- a/content/shell/content_shell_ant_helper.sh
|
| +++ b/content/shell/content_shell_ant_helper.sh
|
| @@ -6,13 +6,13 @@
|
|
|
| set -eu
|
|
|
| -# A helper script to help convert the values of the fifth parameter for
|
| +# A helper script to help convert the values of the last parameter for
|
| # ant building: 'Debug' -> 'debug'; 'Release' -> 'release'.
|
| # It's used by content/content_shell.gypi
|
|
|
| -buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')"
|
| +buildtype="$(echo "${@: -1}" | tr '[A-Z]' '[a-z]')"
|
|
|
| # TODO(yongsheng): enable build type by adding "${buildtype}" into the
|
| # end of parameter list once the workflow is ready to support release
|
| # mode.
|
| -exec "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}"
|
| +exec "${@:1:$((${#@} - 1))}"
|
|
|