From 63c15c5cd11be4540e4e70f41d03f7ea772355ed Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 21 May 2024 23:25:56 +0200 Subject: [PATCH] fix ec file for NESSI-extend module --- EESSI-extend-2023.06-easybuild.eb | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/EESSI-extend-2023.06-easybuild.eb b/EESSI-extend-2023.06-easybuild.eb index 3735b3d31f..cdea2e58e4 100644 --- a/EESSI-extend-2023.06-easybuild.eb +++ b/EESSI-extend-2023.06-easybuild.eb @@ -95,19 +95,7 @@ elseif (os.getenv("NESSI_SITE_INSTALL") ~= nil) then if ((os.getenv("NESSI_PROJECT_INSTALL") ~= nil) or (os.getenv("NESSI_USER_INSTALL") ~= nil)) then LmodError("You cannot use NESSI_SITE_INSTALL in combination with any other NESSI_*_INSTALL environment variables") end - site_install = os.getenv("NESSI_SITE_INSTALL") - site_modulepath = nil - if (site_install ~= nil) then - -- Check the folder exists - if not isDir(site_install) then - LmodError("The location of NESSI_SITE_INSTALL (" .. site_install .. ") does not exist or is not a folder") - end - if (mode() == "load") then - LmodMessage("Configuring for use of NESSI_SITE_INSTALL under " .. site_install) - end - easybuild_installpath = string.gsub(os.getenv("EESSI_SOFTWARE_PATH"), os.getenv("EESSI_CVMFS_REPO"), site_install) - site_modulepath = pathJoin(easybuild_installpath, 'modules', 'all') - end + easybuild_installpath = string.gsub(os.getenv("EESSI_SOFTWARE_PATH"), 'versions', 'host_injections') else -- Deal with user and project installs project_install = os.getenv("NESSI_PROJECT_INSTALL")