Skip to content

Commit 77f3bc9

Browse files
committed
revert to silent sourcing, keep initialising full environment and clarify in comments
1 parent d2d95e9 commit 77f3bc9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

EESSI-install-software.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,9 @@ if [ ! -f ${_lmod_sitepackage_file} ]; then
173173
fi
174174

175175
# Set all the EESSI environment variables (respecting $EESSI_SOFTWARE_SUBDIR_OVERRIDE)
176-
# $EESSI_SILENT - don't print any messages
177-
# $EESSI_BASIC_ENV - give a basic set of environment variables
178-
unset EESSI_SILENT
179-
unset EESSI_BASIC_ENV
180-
source $TOPDIR/init/eessi_environment_variables
176+
# $EESSI_SILENT - don't print any messages if set (use 'unset EESSI_SILENT' to let script show messages)
177+
# $EESSI_BASIC_ENV - give a basic set of environment variables if set (use 'EESSI_BASIC_ENV=' to let script initialise a full environment)
178+
EESSI_SILENT=1 EESSI_BASIC_ENV= source $TOPDIR/init/eessi_environment_variables
181179

182180
if [[ -z ${EESSI_SOFTWARE_SUBDIR} ]]; then
183181
fatal_error "Failed to determine software subdirectory?!"

0 commit comments

Comments
 (0)