From: Tim 'mithro' Ansell Date: Tue, 7 Apr 2020 00:27:24 +0000 (-0700) Subject: Improve the path messages a little. X-Git-Tag: 24jan2021_ls180~493^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b2aff127489d8ebb8e97382b875dce2121c92db;p=litex.git Improve the path messages a little. --- diff --git a/litex_setup.py b/litex_setup.py index 14fc0cb3..b7239ccf 100755 --- a/litex_setup.py +++ b/litex_setup.py @@ -139,5 +139,7 @@ if "update" in sys.argv[1:]: if "--user" in sys.argv[1:]: if ".local/bin" not in os.environ.get("PATH", ""): print("Make sure that ~/.local/bin is in your PATH") + print("export PATH=$PATH:~/.local/bin") elif "gcc" in sys.argv[1:]: - print("Make sure that the download RISC-V compiler is in your $PATH.") + print("Make sure that the downloaded RISC-V compiler is in your $PATH.") + print("export PATH=$PATH:$(echo $PWD/riscv64-*/bin/)")