forked from openkylin/platform_build
am ea83daa3: Merge "Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink" into gingerbread
Merge commit 'ea83daa389aea493294617232b5c34414861d701' into gingerbread-plus-aosp * commit 'ea83daa389aea493294617232b5c34414861d701': Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink
This commit is contained in:
commit
73143d9dfc
|
@ -664,7 +664,7 @@ function mmm()
|
|||
for DIR in $DIRS ; do
|
||||
DIR=`echo $DIR | sed -e 's:/$::'`
|
||||
if [ -f $DIR/Android.mk ]; then
|
||||
TO_CHOP=`echo $T | wc -c | tr -d ' '`
|
||||
TO_CHOP=`(cd -P -- $T && pwd -P) | wc -c | tr -d ' '`
|
||||
TO_CHOP=`expr $TO_CHOP + 1`
|
||||
START=`PWD= /bin/pwd`
|
||||
MFILE=`echo $START | cut -c${TO_CHOP}-`
|
||||
|
|
Loading…
Reference in New Issue