From 2b2aff127489d8ebb8e97382b875dce2121c92db Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 6 Apr 2020 17:27:24 -0700 Subject: [PATCH] Improve the path messages a little. --- litex_setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/)") -- 2.30.2