From 5c797ba00544d851e3db94671127789961adf56e Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 4 Mar 2015 15:29:18 +0100 Subject: [PATCH] Bootstrap/Pmodule/init_local_env.bash renamed --- scripts/Bootstrap/Pmodules/{init_local_env.bash => modmanage.in} | 1 + 1 file changed, 1 insertion(+) rename scripts/Bootstrap/Pmodules/{init_local_env.bash => modmanage.in} (99%) diff --git a/scripts/Bootstrap/Pmodules/init_local_env.bash b/scripts/Bootstrap/Pmodules/modmanage.in similarity index 99% rename from scripts/Bootstrap/Pmodules/init_local_env.bash rename to scripts/Bootstrap/Pmodules/modmanage.in index 434f54f..718ed1e 100755 --- a/scripts/Bootstrap/Pmodules/init_local_env.bash +++ b/scripts/Bootstrap/Pmodules/modmanage.in @@ -183,6 +183,7 @@ function init_pmodules_environment() { "${dst}/${PMODULES_VERSION}" || die 1 "Error: setting sym-link failed!" $DRY cp "${src}/.release-${PMODULES_VERSION}" "${dst}" || die 1 "Error: setting release failed!" echo + if [[ -n "${ENV_USER}" ]]; then echo "Changing user of new module environment to '${ENV_USER}'..." $DRY chown -R "${ENV_USER}" "${target_dir}" || die 1 "Error: changing owner failed!"