Skip to content

Commit

Permalink
subprocess instead of capture
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Dec 10, 2024
1 parent 9f22039 commit 0cafae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/modules/EESSI/2023.06.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ whatis("URL: https://www.eessi.io/docs/")
conflict("EESSI")
local eessi_version = myModuleVersion()
local eessi_repo = "/cvmfs/software.eessi.io"
if (capture("uname -m"):gsub("\n$","") == "riscv64") then
if (subprocess("uname -m"):gsub("\n$","") == "riscv64") then
eessi_version = os.getenv("EESSI_VERSION_OVERRIDE") or "20240402"
eessi_repo = "/cvmfs/riscv.eessi.io"
LmodMessage("RISC-V architecture detected, but there is no RISC-V support yet in the production repository.\n" ..
Expand Down

0 comments on commit 0cafae8

Please sign in to comment.