Commit 912391ac authored by gsell's avatar gsell

config/environment.bash.{in,psi}

- define 'PMODULES_DISTFILESDIR' and 'PMODULES_TMPDIR' only if still undefined
parent a53a7934
......@@ -19,6 +19,13 @@ declare -x PMODULES_DEFAULT_GROUPS='Tools Programming'
declare -x PMODULES_DEFINED_RELEASES=':unstable:stable:deprecated:'
declare -x PMODULES_DEFAULT_RELEASES='stable'
declare -x PMODULES_DISTFILESDIR='@PMODULES_DISTFILESDIR@'
declare -x PMODULES_TMPDIR="/var/tmp/${USER}"
if [[ -z ${PMODULES_DISTFILESDIR} ]]; then
PMODULES_DISTFILESDIR='@PMODULES_DISTFILESDIR@'
fi
declare -x PMODULES_DISTFILESDIR
if [[ -z ${PMODULES_TMPDIR} ]]; then
PMODULES_TMPDIR="/var/tmp/${USER}"
fi
declare -x PMODULES_TMPDIR
......@@ -19,6 +19,13 @@ declare -x PMODULES_DEFAULT_GROUPS='Tools Programming'
declare -x PMODULES_DEFINED_RELEASES=':unstable:stable:deprecated:'
declare -x PMODULES_DEFAULT_RELEASES='stable'
declare -x PMODULES_DISTFILESDIR='/afs/psi.ch/software/Pmodules/distfiles'
declare -x PMODULES_TMPDIR="/var/tmp/${USER}"
if [[ -z ${PMODULES_DISTFILESDIR} ]]; then
PMODULES_DISTFILESDIR='/afs/psi.ch/software/Pmodules/distfiles'
fi
declare -x PMODULES_DISTFILESDIR
if [[ -z ${PMODULES_TMPDIR} ]]; then
PMODULES_TMPDIR="/var/tmp/${USER}"
fi
declare -x PMODULES_TMPDIR
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