From afa958f4132cef0b65479fe60e142f4d1caed99d Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Thu, 5 Mar 2015 19:52:55 +0100 Subject: [PATCH] Allow variable overrides in mmm and mmma Change-Id: I12e8cc62e72d0af3b777f69727eafec9aa1713e3 --- envsetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 1bc14d587..d91b0b344 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -761,7 +761,7 @@ function mmm() MAKEFILE="$MAKEFILE $MFILE" else case $DIR in - showcommands | snod | dist | incrementaljavac) ARGS="$ARGS $DIR";; + showcommands | snod | dist | incrementaljavac | *=*) ARGS="$ARGS $DIR";; GET-INSTALL-PATH) GET_INSTALL_PATH=$DIR;; *) echo "No Android.mk in $DIR."; return 1;; esac @@ -817,7 +817,7 @@ function mmma() fi else case $DIR in - showcommands | snod | dist | incrementaljavac) ARGS="$ARGS $DIR";; + showcommands | snod | dist | incrementaljavac | *=*) ARGS="$ARGS $DIR";; *) echo "Couldn't find directory $DIR"; return 1;; esac fi