forked from openkylin/platform_build
am 73143d9d: am ea83daa3: Merge "Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink" into gingerbread
Merge commit '73143d9dfcaca5416d46be2733bb370824b3acb2' * commit '73143d9dfcaca5416d46be2733bb370824b3acb2': Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink
This commit is contained in:
commit
c43ac33bcc
|
@ -678,7 +678,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