Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 929a665f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "fastboot: Introduce FASTBOOT_DEVICE alias for ANDROID_SERIAL environment variable"

parents 1f876a81 9d2fb9ca
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -2231,6 +2231,8 @@ int FastBootTool::Main(int argc, char* argv[]) {
                                      {"version", no_argument, 0, 0},
                                      {"version", no_argument, 0, 0},
                                      {0, 0, 0, 0}};
                                      {0, 0, 0, 0}};


    serial = getenv("FASTBOOT_DEVICE");
    if (!serial)
        serial = getenv("ANDROID_SERIAL");
        serial = getenv("ANDROID_SERIAL");


    int c;
    int c;