diff --git a/scripts/Bootstrap/compile_pmodules.sh b/scripts/Bootstrap/compile_pmodules.sh index 7b5ff11..7fb50c8 100755 --- a/scripts/Bootstrap/compile_pmodules.sh +++ b/scripts/Bootstrap/compile_pmodules.sh @@ -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 diff --git a/scripts/Bootstrap/install_pmodules.sh b/scripts/Bootstrap/install_pmodules.sh index 83a6b9b..b4c0c6a 100755 --- a/scripts/Bootstrap/install_pmodules.sh +++ b/scripts/Bootstrap/install_pmodules.sh @@ -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} ..."