commit | 31dbed7b60d8237d6d05dc6bf230167a5854b77a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 07 15:38:53 2009 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 07 15:38:53 2009 -0700 |
tree | bae34d06d0f9e540a1e5adc2fcfd1ff5fc04f1e6 | |
parent | b4add9b74525210478bac702d27fdaf9cf7ab18f [diff] |
Add adb's ANDROID_SERIAL to fastboot too. We noticed this when trying to script on-device testing for the dalvik continuous build. Also fix a typo in adb's help.
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index 8e92017..911c3f6 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c
@@ -557,6 +557,8 @@ return 0; } + serial = getenv("ANDROID_SERIAL"); + while (argc > 0) { if(!strcmp(*argv, "-w")) { wants_wipe = 1;