Merge pull request #1594 from trabucayre/litex_setup_bashrc

litex_setup: explain how to update permanently PATH env variable (#1589)
This commit is contained in:
enjoy-digital 2023-02-08 19:27:47 +01:00 committed by GitHub
commit d256a5e3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -289,7 +289,8 @@ def litex_setup_install_repos(config="standard", user_mode=False):
if user_mode:
if ".local/bin" not in os.environ.get("PATH", ""):
print_status("Make sure that ~/.local/bin is in your PATH")
print_status("export PATH=$PATH:~/.local/bin")
print_status("export PATH=$PATH:~/.local/bin # temporary (limited to the current terminal)")
print_status("or add the previous line into your ~/.bashrc to permanently update PATH")
# Git repositories freeze --------------------------------------------------------------------------