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

Commit 475054a1 authored by Ying Wang's avatar Ying Wang Committed by Gerrit Code Review
Browse files

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

parents 77493047 a72a6e7c
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