We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a47a6ea commit a0efdf3Copy full SHA for a0efdf3
src/bootstrap/bootstrap.py
@@ -438,7 +438,7 @@ def main():
438
rb.use_vendored_sources = '\nvendor = true' in rb.config_toml or \
439
'CFG_ENABLE_VENDOR' in rb.config_mk
440
441
- if 'SUDO_USER' in os.environ:
+ if 'SUDO_USER' in os.environ and not rb.use_vendored_sources:
442
if os.environ['USER'] != os.environ['SUDO_USER']:
443
rb.use_vendored_sources = True
444
print('info: looks like you are running this command under `sudo`')
0 commit comments