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:
commit
d256a5e3a8
|
@ -289,7 +289,8 @@ def litex_setup_install_repos(config="standard", user_mode=False):
|
||||||
if user_mode:
|
if user_mode:
|
||||||
if ".local/bin" not in os.environ.get("PATH", ""):
|
if ".local/bin" not in os.environ.get("PATH", ""):
|
||||||
print_status("Make sure that ~/.local/bin is in your 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 --------------------------------------------------------------------------
|
# Git repositories freeze --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -477,4 +478,4 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue