diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-08 11:30:10 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-08 11:30:10 -0400 |
commit | 44a0270c1ed8ec95cb380529c56c58a16889e111 (patch) | |
tree | 52694ea2a9582abf948f17a43f9da518a65897eb /fastboot | |
parent | c500be926cf07c43aeb828ae86b04b856c6b7c63 (diff) | |
parent | 31dbed7b60d8237d6d05dc6bf230167a5854b77a (diff) | |
download | system_core-44a0270c1ed8ec95cb380529c56c58a16889e111.zip system_core-44a0270c1ed8ec95cb380529c56c58a16889e111.tar.gz system_core-44a0270c1ed8ec95cb380529c56c58a16889e111.tar.bz2 |
Merge change I31dbed7b
* changes:
Add adb's ANDROID_SERIAL to fastboot too.
Diffstat (limited to 'fastboot')
-rw-r--r-- | fastboot/fastboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ int main(int argc, char **argv) return 0; } + serial = getenv("ANDROID_SERIAL"); + while (argc > 0) { if(!strcmp(*argv, "-w")) { wants_wipe = 1; |