From 506410a549f2681a2d3fef99a69e02ba242e524a Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 9 Jul 2014 15:37:34 -0700 Subject: [PATCH] Allow symlinks to device or vendor tree in envsetup.sh. Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529 --- envsetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 34b52e537..6188f26d1 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1459,8 +1459,8 @@ if [ "x$SHELL" != "x/bin/bash" ]; then fi # Execute the contents of any vendorsetup.sh files we can find. -for f in `test -d device && find device -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null` \ - `test -d vendor && find vendor -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null` +for f in `test -d device && find -L device -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null` \ + `test -d vendor && find -L vendor -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null` do echo "including $f" . $f