Merge "envsetup: Show error when supplied dir isn\'t present with mmm"
am: 475054a16a
* commit '475054a16ad57b184fa476c093cf1ce8e9ec3e15':
envsetup: Show error when supplied dir isn't present with mmm
This commit is contained in:
commit
3a6ad87039
1 changed files with 6 additions and 1 deletions
|
@ -754,7 +754,12 @@ function mmm()
|
||||||
case $DIR in
|
case $DIR in
|
||||||
showcommands | snod | dist | *=*) ARGS="$ARGS $DIR";;
|
showcommands | snod | dist | *=*) ARGS="$ARGS $DIR";;
|
||||||
GET-INSTALL-PATH) GET_INSTALL_PATH=$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
|
esac
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue