Merge "envsetup: Show error when supplied dir isn't present with mmm"
diff --git a/envsetup.sh b/envsetup.sh
index 2ff83f7..c8152b6 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -754,7 +754,12 @@
                 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