Commit ffe2925d authored by Chris Burr's avatar Chris Burr
Browse files

Set X509_VOMSES in etc/cern_profile.d/cern_env

parent ac353e1b
Pipeline #2569346 passed with stages
in 45 seconds
......@@ -31,6 +31,14 @@ if ( ! $?X509_VOMS_DIR ) then
endif
endif
if ( ! $?X509_VOMSES ) then
if ( -d /etc/grid-security/vomses ) then
setenv X509_VOMSES /etc/grid-security/vomses
else if ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/vomses ) then
setenv X509_VOMSES /cvmfs/lhcb.cern.ch/etc/grid-security/vomses
endif
endif
# Variable to access the LHCb CASTOR instance
setenv STAGE_HOST castorlhcb.cern.ch
......
......@@ -31,6 +31,14 @@ if [ ! -n "$X509_VOMS_DIR" ] ; then
fi
fi
if [ ! -n "$X509_VOMSES" ] ; then
if [ -d /etc/grid-security/vomses ] ; then
export X509_VOMSES=/etc/grid-security/vomses
elif [ -d /cvmfs/lhcb.cern.ch/etc/grid-security/vomses ] ; then
export X509_VOMSES=/cvmfs/lhcb.cern.ch/etc/grid-security/vomses
fi
fi
# Variable to access the LHCb CASTOR instance
export STAGE_HOST=castorlhcb.cern.ch
......@@ -39,4 +47,3 @@ export EMACSDIR=/cvmfs/lhcb.cern.ch/lib/lhcb/TOOLS/Tools/Emacs/pro
# Make sure virtualenv does not overwrite your prompt
export VIRTUAL_ENV_DISABLE_PROMPT=1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment