Commit df50ec31 authored by gsell's avatar gsell

scripts/Bootstrap/{compile,install}_pmodules.sh:

- bugfix in setting PMODULES_VERSION
parent 2ac06ce2
......@@ -5,9 +5,10 @@ declare -r BOOTSTRAP_DIR="${BASE_DIR}/scripts/Bootstrap"
source "${BASE_DIR}/lib/lib.bash"
read_versions "${BOOTSTRAP_DIR}/Pmodules_version.conf"
unset PMODULES_HOME
unset PMODULES_VERSION
read_versions "${BOOTSTRAP_DIR}/Pmodules_version.conf"
source "/opt/psi/config/environment.bash"
#if [[ -n ${PMODULES_DIR} ]] && [[ "${PMODULES_DIR}" != "/" ]] && [[ -d "${PMODULES_DIR}" ]]; then
......
......@@ -6,9 +6,10 @@ declare -r SRC_DIR="${BOOTSTRAP_DIR}/Pmodules"
source "${BASE_DIR}/lib/lib.bash"
read_versions "${BOOTSTRAP_DIR}/Pmodules_version.conf"
unset PMODULES_HOME
unset PMODULES_VERSION
read_versions "${BOOTSTRAP_DIR}/Pmodules_version.conf"
source "/opt/psi/config/environment.bash"
echo "Installing to ${PMODULES_HOME} ..."
......
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