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

Commit c5e45492 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 4c401b1a: Merge "Fix argument handling in runhat() function"

* commit '4c401b1a':
  Fix argument handling in runhat() function
parents c09cc904 4c401b1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -907,10 +907,10 @@ function runhat()
{
    # process standard adb options
    local adbTarget=""
    if [ $1 = "-d" -o $1 = "-e" ]; then
    if [ "$1" = "-d" -o "$1" = "-e" ]; then
        adbTarget=$1
        shift 1
    elif [ $1 = "-s" ]; then
    elif [ "$1" = "-s" ]; then
        adbTarget="$1 $2"
        shift 2
    fi