Skip to content

Commit

Permalink
revert to silent sourcing, keep initialising full environment and cla…
Browse files Browse the repository at this point in the history
…rify in comments
  • Loading branch information
truib committed Oct 16, 2024
1 parent d2d95e9 commit 77f3bc9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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?!"
Expand Down

0 comments on commit 77f3bc9

Please sign in to comment.