Skip to content
Snippets Groups Projects

Also avoid SSL_CERT_FILE

Merged Wouter Deconinck requested to merge wdconinc-master-patch-49264 into master
1 file
+ 7
4
Compare changes
  • Side-by-side
  • Inline
+ 7
4
@@ -36,13 +36,16 @@ export PS1=${ps1_preamble}'\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\
@@ -36,13 +36,16 @@ export PS1=${ps1_preamble}'\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\
export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33'
export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33'
unset ps1_preamble
unset ps1_preamble
## unset CURL_CA_BUNDLE if not accessible inside container
## unset CURL_CA_BUNDLE and SSL_CERT_FILE if not accessible
## this addresses certain HPC systems where CURL_CA_BUNDLE
## inside container: this addresses certain HPC systems where
## is customized to point to paths that do not exist inside
## CURL_CA_BUNDLE and SSL_CERT_FILE are customized to point
## this container
## to paths that do not exist inside this container
if [ ! -r ${CURL_CA_BUNDLE:-/} ]; then
if [ ! -r ${CURL_CA_BUNDLE:-/} ]; then
unset CURL_CA_BUNDLE
unset CURL_CA_BUNDLE
fi
fi
 
if [ ! -r ${SSL_CERT_FILE:-/} ]; then
 
unset SSL_CERT_FILE
 
fi
## redefine ls and less as functions, as this is something we
## redefine ls and less as functions, as this is something we
## can import into our plain bash --norc --noprofile session
## can import into our plain bash --norc --noprofile session
Loading