Merge "adb: Pick desired product value from command line it follows -p"

This commit is contained in:
Jean-Baptiste Queru 2012-08-20 14:41:24 -07:00 committed by android code review
commit 0874aa0ec4

View file

@ -963,7 +963,7 @@ int adb_commandline(int argc, char **argv)
argc--;
argv++;
} else {
product = argv[1] + 2;
product = argv[0] + 2;
}
gProductOutPath = find_product_out_path(product);
if (gProductOutPath == NULL) {