Skip to content

Commit 51c6b1c

Browse files
boegelocaisa
andauthored
improve comment that explains setting of $CURL_CA_BUNDLE on RHEL-based systems
Co-authored-by: ocaisa <alan.ocais@cecam.org>
1 parent 9747ee4 commit 51c6b1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init/eessi_environment_variables

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ if [ -d $EESSI_PREFIX ]; then
107107
fi
108108

109109
# 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)
110113
rhel_libcurl_file="/etc/pki/tls/certs/ca-bundle.crt"
111114
if [ -f $rhel_libcurl_file ]; then
112115
show_msg "Found libcurl CAs file at RHEL location, setting CURL_CA_BUNDLE"

0 commit comments

Comments
 (0)