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

- bugfix in setting PMODULES_VERSION
This commit is contained in:
2015-07-09 17:44:08 +02:00
parent 2ac06ce262
commit df50ec313b
2 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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} ..."