diff options
-rw-r--r-- | envsetup.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh index 82b58e6..2f019f9 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -922,7 +922,12 @@ function mmm() case $DIR in showcommands | snod | dist | incrementaljavac | *=*) 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 |