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

Unset CURL_CA_BUNDLE if points to unreadable file

parent 5a49cae5
No related branches found
No related tags found
1 merge request!311Unset CURL_CA_BUNDLE if points to unreadable file
......@@ -36,6 +36,14 @@ 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'
unset ps1_preamble
## unset CURL_CA_BUNDLE if not accessible inside container
## this addresses certain HPC systems where CURL_CA_BUNDLE
## is customized to point to paths that do not exist inside
## this container
if [ ! -r ${CURL_CA_BUNDLE:-/} ]; then
unset CURL_CA_BUNDLE
fi
## redefine ls and less as functions, as this is something we
## can import into our plain bash --norc --noprofile session
## (aliases cannot be transferred to a child shell)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment