Merge "gettop: fix symlink detection"

This commit is contained in:
Ying Wang 2014-02-14 21:20:17 +00:00 committed by Gerrit Code Review
commit 872d3c2c6a

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