Skip to content

Commit 63c15c5

Browse files
committed
fix ec file for NESSI-extend module
1 parent bdcb22e commit 63c15c5

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

EESSI-extend-2023.06-easybuild.eb

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,7 @@ elseif (os.getenv("NESSI_SITE_INSTALL") ~= nil) then
9595
if ((os.getenv("NESSI_PROJECT_INSTALL") ~= nil) or (os.getenv("NESSI_USER_INSTALL") ~= nil)) then
9696
LmodError("You cannot use NESSI_SITE_INSTALL in combination with any other NESSI_*_INSTALL environment variables")
9797
end
98-
site_install = os.getenv("NESSI_SITE_INSTALL")
99-
site_modulepath = nil
100-
if (site_install ~= nil) then
101-
-- Check the folder exists
102-
if not isDir(site_install) then
103-
LmodError("The location of NESSI_SITE_INSTALL (" .. site_install .. ") does not exist or is not a folder")
104-
end
105-
if (mode() == "load") then
106-
LmodMessage("Configuring for use of NESSI_SITE_INSTALL under " .. site_install)
107-
end
108-
easybuild_installpath = string.gsub(os.getenv("EESSI_SOFTWARE_PATH"), os.getenv("EESSI_CVMFS_REPO"), site_install)
109-
site_modulepath = pathJoin(easybuild_installpath, 'modules', 'all')
110-
end
98+
easybuild_installpath = string.gsub(os.getenv("EESSI_SOFTWARE_PATH"), 'versions', 'host_injections')
11199
else
112100
-- Deal with user and project installs
113101
project_install = os.getenv("NESSI_PROJECT_INSTALL")

0 commit comments

Comments
 (0)