am 872d3c2c: Merge "gettop: fix symlink detection"

* commit '872d3c2c6a07e4f1c171439449727a870dfaa59d':
  gettop: fix symlink detection
This commit is contained in:
Ying Wang 2014-02-14 23:08:08 +00:00 committed by Android Git Automerger
commit 595e1f4691

View file

@ -602,7 +602,7 @@ function gettop
T=
while [ \( ! \( -f $TOPFILE \) \) -a \( $PWD != "/" \) ]; do
\cd ..
T=`PWD= /bin/pwd`
T=`PWD= /bin/pwd -P`
done
\cd $HERE
if [ -f "$T/$TOPFILE" ]; then