Skip to content

Commit

Permalink
Merge pull request EESSI#245 from trz42/sync_nessi_eessi_init_bash
Browse files Browse the repository at this point in the history
minor polishing
  • Loading branch information
poksumdo authored Jan 22, 2024
2 parents 2eccfba + d552e36 commit 434a101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init/bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function show_msg {
echo "$msg"
fi
}

# The following method should be safe, but might break if file is a symlink
# (could switch to $(dirname "$(readlink -f "$BASH_SOURCE")") in that case)
source $(dirname "$BASH_SOURCE")/eessi_environment_variables
Expand All @@ -23,7 +24,7 @@ if [ $? -eq 0 ]; then
source $EESSI_EPREFIX/usr/share/Lmod/init/bash

# prepend location of modules for EESSI software stack to $MODULEPATH
show_msg "Prepending $EESSI_MODULEPATH to \$MODULEPATH..." >> $output
show_msg "Prepending $EESSI_MODULEPATH to \$MODULEPATH..."
module use $EESSI_MODULEPATH

#show_msg ""
Expand Down

0 comments on commit 434a101

Please sign in to comment.