Merge "gettop: fix symlink detection"
diff --git a/envsetup.sh b/envsetup.sh
index 65849d9..5170063 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -602,7 +602,7 @@
             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