Merge "Remove unnecessary RBE sourcing in envsetup.sh"

This commit is contained in:
Kousik Kumar
2021-11-09 19:41:49 +00:00
committed by Gerrit Code Review

View File

@@ -1883,16 +1883,6 @@ function showcommands() {
fi
}
# Source necessary setup scripts needed to run the build with Remote Execution.
function source_rbe() {
local T=$(gettop)
if [[ "x$USE_RBE" != "x" && "$USE_RBE" != "false" ]]; then
. $T/build/make/rbesetup.sh --skip-envsetup
fi
}
validate_current_shell
source_vendorsetup
source_rbe
addcompletions