Resovle symlink in findmakefiles in envsetup.sh
So the returned path can match the one returned by gettop, and so we can get the correct relative path of ONE_SHOT_MAKEFILE when running mm. Change-Id: I492d68fec47e59ec9f4ea0fb5139b1a28af0f6cd
This commit is contained in:
parent
7240549748
commit
11b15b15ce
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ function findmakefile()
|
|||
local HERE=$PWD
|
||||
T=
|
||||
while [ \( ! \( -f $TOPFILE \) \) -a \( $PWD != "/" \) ]; do
|
||||
T=$PWD
|
||||
T=`PWD= /bin/pwd`
|
||||
if [ -f "$T/Android.mk" ]; then
|
||||
echo $T/Android.mk
|
||||
cd $HERE > /dev/null
|
||||
|
|
Loading…
Reference in a new issue