litex_setup: explain how to update permanently PATH env variable (#1589)

This commit is contained in:
Gwenhael Goavec-Merou 2023-02-08 18:53:50 +01:00
parent c054dc13d9
commit 64a1ecda6e
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 --------------------------------------------------------------------------
@ -477,4 +478,4 @@ def main():
if __name__ == "__main__":
main()