From aea0cd8d5cd91f88ab8ede8a9459a5b38cb0ee7d Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 2 Jul 2015 11:12:05 +0200 Subject: [PATCH] lib/libpmodules.bash: - read version from 'Pmodules_version.conf, if bootstrapping --- lib/libpmodules.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libpmodules.bash b/lib/libpmodules.bash index 43c52c8..1971e8d 100644 --- a/lib/libpmodules.bash +++ b/lib/libpmodules.bash @@ -840,6 +840,10 @@ if [[ ${bootstrap} == no ]]; then die 44 "$m: module not available!" fi done +else + source "${BUILD_BASEDIR}/scripts/Bootstrap/Pmodules_version.conf" + unset PMODULES_HOME + source "/opt/psi/config/environment.bash" fi P=$(basename $(dirname "${BUILDSCRIPT}"))