Skip to content

Commit d6d5a2b

Browse files
hvelabocaisa
andauthored
Update init/eessi_environment_variables
Add bigger comment Co-authored-by: ocaisa <alan.ocais@cecam.org>
1 parent 51c6b1c commit d6d5a2b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

init/eessi_environment_variables

+9-9
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ if [ -d $EESSI_PREFIX ]; then
106106
false
107107
fi
108108

109-
# Fix wrong path for RHEL >=8 libcurl
110-
# This is required here because we ship curl in our compat layer. If we only provided
111-
# curl as a module file we could instead do this via a `modluafooter` in an EasyBuild
112-
# hook (or via an Lmod hook)
113-
rhel_libcurl_file="/etc/pki/tls/certs/ca-bundle.crt"
114-
if [ -f $rhel_libcurl_file ]; then
115-
show_msg "Found libcurl CAs file at RHEL location, setting CURL_CA_BUNDLE"
116-
export CURL_CA_BUNDLE=$rhel_libcurl_file
117-
fi
109+
# Fix wrong path for RHEL >=8 libcurl
110+
# This is required here because we ship curl in our compat layer. If we only provided
111+
# curl as a module file we could instead do this via a `modluafooter` in an EasyBuild
112+
# hook (or via an Lmod hook)
113+
rhel_libcurl_file="/etc/pki/tls/certs/ca-bundle.crt"
114+
if [ -f $rhel_libcurl_file ]; then
115+
show_msg "Found libcurl CAs file at RHEL location, setting CURL_CA_BUNDLE"
116+
export CURL_CA_BUNDLE=$rhel_libcurl_file
117+
fi
118118

119119
else
120120
error "EESSI software layer at $EESSI_SOFTWARE_PATH not found!"

0 commit comments

Comments
 (0)