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

am: 3a6ad87039

* commit '3a6ad87039910b7fc7bfb078fec8a66d66441d81':
  envsetup: Show error when supplied dir isn't present with mmm
This commit is contained in:
Ying Wang
2015-10-19 23:28:27 +00:00
committed by android-build-merger

View File

@@ -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