Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c35cc93d authored by Ying Wang's avatar Ying Wang Committed by Gerrit Code Review
Browse files

Merge "Allow symlinks to device or vendor tree in envsetup.sh."

parents 02a5b517 506410a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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