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..589dde116296340d527cff6db718b99d8524e4fe 100755 |
--- a/content/shell/content_shell_ant_helper.sh |
+++ b/content/shell/content_shell_ant_helper.sh |
@@ -10,9 +10,10 @@ set -eu |
# ant building: 'Debug' -> 'debug'; 'Release' -> 'release'. |
# It's used by content/content_shell.gypi |
-buildtype="$(echo "${11}" | tr '[A-Z]' '[a-z]')" |
+buildtype="$(echo "${12}" | tr '[A-Z]' '[a-z]')" |
Peter Beverloo
2012/08/23 10:45:48
buildtype="$(echo "${@: -1}" | tr '[A-Z]' '[a-z]')
michaelbai
2012/08/23 22:53:00
Done.
|
# 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}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" \ |
+ "${11}" |
Peter Beverloo
2012/08/23 10:45:48
exec "${@:1:$((${#@} - 1))}"
and when we want to
michaelbai
2012/08/23 22:53:00
Done.
|