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:
Brian Carlstrom 2010-09-28 18:21:48 -07:00 committed by Android Git Automerger
commit c43ac33bcc
1 changed files with 1 additions and 1 deletions

View File

@ -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}-`