Skip to content

Commit 5ecd439

Browse files
committed
Use consistent naming for environment variables that affect the EESSI module
1 parent 101f1e5 commit 5ecd439

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests_eessi_module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ jobs:
343343
344344
export MODULEPATH=init/modules
345345
# Set the relevant environment variable, load the EESSI module, and grep for what we expect in PS1
346-
export EESSI_UPDATE_PS1=1
346+
export EESSI_MODULE_UPDATE_PS1=1
347347
# Need to set PS1 manually as we are in a non-interactive shell
348348
export PS1="mytest $"
349349
echo $PS1

init/modules/EESSI/2023.06.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ end
216216

217217
-- change the PS1 if it exists to indicate you have EESSI loaded
218218
-- (doesn't help with a csh or fish prompt, but we just live with that)
219-
if os.getenv("EESSI_UPDATE_PS1") then
219+
if os.getenv("EESSI_MODULE_UPDATE_PS1") then
220220
prompt = os.getenv("PS1")
221221
if prompt then
222222
pushenv("PS1", "{EESSI/" .. eessi_version .. "} " .. prompt)

0 commit comments

Comments
 (0)