Commit 298af6a4 authored by Ben Couturier's avatar Ben Couturier
Browse files

csh fixes

parent a078ad64
Pipeline #741724 passed with stage
in 59 seconds
......@@ -23,7 +23,7 @@ if ( -e "${_home_dir}" && ! -e "${_home_dir}/.nogrouplogin" ) then
# customization enabled
foreach _f ( %target_dir%/etc/cern_profile.d/*.csh )
source ${_f}
endforeach
end
if ( ! -e "${_home_dir}/.nolbenv" ) then
# LbEnv enabled
......
......@@ -18,18 +18,18 @@ setenv LHCBNIGHTLIES /cvmfs/lhcbdev.cern.ch/nightlies
if ( ! $?X509_CERT_DIR ) then
if ( -d /etc/grid-security/certificates ) then
setenv X509_CERT_DIR /etc/grid-security/certificates
elif ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/certificates ) then
else if ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/certificates ) then
setenv X509_CERT_DIR /cvmfs/lhcb.cern.ch/etc/grid-security/certificates
fi
fi
endif
endif
if ( ! $?X509_VOMS_DIR ) then
if ( -d /etc/grid-security/vomsdir ) then
setenv X509_VOMS_DIR /etc/grid-security/vomsdir
elif ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/vomsdir ) then
else if ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/vomsdir ) then
setenv X509_VOMS_DIR /cvmfs/lhcb.cern.ch/etc/grid-security/vomsdir
fi
fi
endif
endif
# Variable to access the LHCb CASTOR instance
setenv STAGE_HOST castorlhcb.cern.ch
......
Supports Markdown
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