From c621f7233a22da44c17aa89c728df91cdf0f0ad6 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 30 Mar 2017 14:32:21 +0200 Subject: [PATCH] Pmodules/modmange.bash.in: - bugfix in initializing a new module environment, fixes #16 --- Pmodules/modmanage.bash.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pmodules/modmanage.bash.in b/Pmodules/modmanage.bash.in index f4f77fb..c6e78f5 100755 --- a/Pmodules/modmanage.bash.in +++ b/Pmodules/modmanage.bash.in @@ -420,12 +420,12 @@ environment at '${PMODULES_ROOT}' echo echo "Syncing configuration ..." - sync_config "${PMODULES_ROOT}" \ + sync_config "${src_prefix}" \ "${target_prefix}" || \ std::die 1 "Error: configuration synchronization failed!" echo "Syncing Pmodules ${PMODULES_VERSION} from '${src_prefix}' to '${target_prefix}'..." - sync_module "Tools/Pmodules/${PMODULES_VERSION}" \ + sync_module "Tools/${PMODULES_MODULEFILES_DIR}/Pmodules/${PMODULES_VERSION}" \ "${src_prefix}" \ "${target_prefix}" || \ std::die 1 "Error: sync Pmodules failed!"