scripts/Bootstrap/{compile,install}_pmodules.sh:
- bugfix in setting PMODULES_VERSION
This commit is contained in:
@@ -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} ..."
|
||||
|
||||
Reference in New Issue
Block a user