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

Commit 31a9fee8 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Fix adb function." into main

parents a0f30662 7e7ff750
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1085,7 +1085,12 @@ function cproj()
}

function adb() {
   command adb "${@}"
    local ADB=$(which adb)
    if [ -z "$ADB" ]; then
        echo "Command adb not found; try lunch (and building) first?"
        return 1
    fi
    $ADB "${@}"
}

# simplified version of ps; output in the form