From 77f3bc9cdaf6ab836616a7724d904e830a2e2d5e Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Wed, 16 Oct 2024 12:03:51 +0200 Subject: [PATCH] revert to silent sourcing, keep initialising full environment and clarify in comments --- EESSI-install-software.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index 7c51727bef..c2900b9a30 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -173,11 +173,9 @@ if [ ! -f ${_lmod_sitepackage_file} ]; then fi # Set all the EESSI environment variables (respecting $EESSI_SOFTWARE_SUBDIR_OVERRIDE) -# $EESSI_SILENT - don't print any messages -# $EESSI_BASIC_ENV - give a basic set of environment variables -unset EESSI_SILENT -unset EESSI_BASIC_ENV -source $TOPDIR/init/eessi_environment_variables +# $EESSI_SILENT - don't print any messages if set (use 'unset EESSI_SILENT' to let script show messages) +# $EESSI_BASIC_ENV - give a basic set of environment variables if set (use 'EESSI_BASIC_ENV=' to let script initialise a full environment) +EESSI_SILENT=1 EESSI_BASIC_ENV= source $TOPDIR/init/eessi_environment_variables if [[ -z ${EESSI_SOFTWARE_SUBDIR} ]]; then fatal_error "Failed to determine software subdirectory?!"