Index: platform_tools/android/bin/android_setup.sh |
diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh |
index d29a07048bf8dfa99c20aa0f5227d09cdfce43f4..a8271026efb5b9d768a9c1ed4d928e5087282955 100755 |
--- a/platform_tools/android/bin/android_setup.sh |
+++ b/platform_tools/android/bin/android_setup.sh |
@@ -19,6 +19,9 @@ while (( "$#" )); do |
fi |
DEVICE_SERIAL="-s $2" |
shift |
+ elif [[ $(echo "$1" | grep "^BUILDTYPE=") != "" ]]; |
mtklein
2014/04/03 14:26:37
I'd prefer just
elif echo $1 | grep -q ^BUILDT
|
+ then |
+ BUILDTYPE=${1##BUILDTYPE=} |
else |
APP_ARGS=("${APP_ARGS[@]}" "${1}") |
fi |