From fd522ce076b145d36107954c17a94b99a3b41d20 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Wed, 11 Sep 2024 13:12:13 +0200 Subject: [PATCH] Workaround for broken LMOD --- scripts/environment_redhat.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/environment_redhat.sh b/scripts/environment_redhat.sh index d05af80..1a4f8ce 100644 --- a/scripts/environment_redhat.sh +++ b/scripts/environment_redhat.sh @@ -5,7 +5,9 @@ # This is working around GitHub Actions running commands in non-login shells # that would otherwise not have the `module` command available. export LMOD_SH_DBG_ON=1 +set +e source /etc/profile.d/modules.sh +set -e # --- # --- End GitHub-Actions-specific code --- # ---