diff options
author | 2013-07-22 14:18:08 +0000 | |
---|---|---|
committer | 2013-07-22 14:18:08 +0000 | |
commit | 489ba1dac0002273b0d353fd5dea221ce5365071 (patch) | |
tree | bc2f960fabae42fb11f0c1b0b7b7ab2d237db293 /platform_tools | |
parent | 2679ff8b8d9e99408e59ea6efd0a70e6d352ecc6 (diff) |
Update android_make to use arrays instead of space delimited strings
R=borenet@google.com
Review URL: https://codereview.chromium.org/19796008
git-svn-id: http://skia.googlecode.com/svn/trunk@10230 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'platform_tools')
-rwxr-xr-x | platform_tools/android/bin/android_make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform_tools/android/bin/android_make b/platform_tools/android/bin/android_make index da8cf4264a..0e6ae5e77d 100755 --- a/platform_tools/android/bin/android_make +++ b/platform_tools/android/bin/android_make @@ -1,6 +1,5 @@ #!/bin/bash -makeVars="" deviceID="" while (( "$#" )); do @@ -16,7 +15,7 @@ while (( "$#" )); do ANDROID_MAKE_CCACHE=$(which ccache) fi else - makeVars="$makeVars $1" + makeVars=("${makeVars[@]}" "$1") fi shift @@ -50,7 +49,7 @@ fi # write the out directory into the .android_config file echo $SKIA_OUT > .android_config -make $makeVars +make ${makeVars[@]} if [ $? != 0 ] then exit 1; |