Files
MX_Pmodule/config/modules
2014-04-18 22:58:13 +02:00

18 lines
386 B
Plaintext

if [[ -z $EM_PREFIX ]]; then
EM_PREFIX_AFS='/afs/psi.ch/sys/@sys'
EM_PREFIX_LOCAL='/opt/em'
if [[ -d ${EM_PREFIX_LOCAL} ]]; then
declare -x EM_PREFIX=${EM_PREFIX_LOCAL}
elif [[ -d ${EM_PREFIX_AFS} ]]; then
declare -x EM_PREFIX=${EM_PREFIX_AFS}
else
echo "Oops: cannot initialize Modules!"
return 1
fi
fi
declare -x MODULES_VERSION='3.2.10'