summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-07-09 15:37:34 -0700
committerYing Wang <wangying@google.com>2014-07-09 15:37:34 -0700
commit506410a549f2681a2d3fef99a69e02ba242e524a (patch)
tree912514eba5321db739be12b4b823cbb207da938f /envsetup.sh
parent02a5b51798b06434b08ffe2f6e6c485e73cd42bc (diff)
downloadbuild-506410a549f2681a2d3fef99a69e02ba242e524a.zip
build-506410a549f2681a2d3fef99a69e02ba242e524a.tar.gz
build-506410a549f2681a2d3fef99a69e02ba242e524a.tar.bz2
Allow symlinks to device or vendor tree in envsetup.sh.
Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 34b52e5..6188f26 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