Skip to content
Snippets Groups Projects
Commit fc38bae6 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Also avoid SSL_CERT_FILE

parent 12665aff
No related branches found
No related tags found
1 merge request!312Also avoid SSL_CERT_FILE
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment