forked from openkylin/platform_build
Fix mmm to work with an ANDROID_BUILD_TOP that contains a symlink
Change-Id: I3dfc1aa6f10a52c2adc68259ce1cedec2ffd8f0e
This commit is contained in:
parent
bb2b82bd55
commit
c634d2c19d
|
@ -663,7 +663,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