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

Commit 3a6ad870 authored by Ying Wang's avatar Ying Wang Committed by android-build-merger
Browse files

Merge "envsetup: Show error when supplied dir isn\'t present with mmm"

am: 475054a1

* commit '475054a1':
  envsetup: Show error when supplied dir isn't present with mmm
parents 3fc56a1f 475054a1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -754,7 +754,12 @@ function mmm()
                case $DIR in
                  showcommands | snod | dist | *=*) ARGS="$ARGS $DIR";;
                  GET-INSTALL-PATH) GET_INSTALL_PATH=$DIR;;
                  *) echo "No Android.mk in $DIR."; return 1;;
                  *) if [ -d $DIR ]; then
                         echo "No Android.mk in $DIR.";
                     else
                         echo "Couldn't locate the directory $DIR";
                     fi
                     return 1;;
                esac
            fi
        done