Skip to content

Commit 2cb94cb

Browse files
committed
need to escape line returns
1 parent 38a74b9 commit 2cb94cb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

create_lmodsitepackage.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,13 @@
209209
-- test failures and recommend using other versions available via EESSI.
210210
-- A message and not a warning as the exit code would break CI runs otherwise.
211211
local simpleName = string.match(t.modFullName, "(.-)/")
212-
local advice = 'The module ' .. t.modFullName .. ' will be loaded. However, note that\n'
213-
advice = advice .. 'during its building for the CPU microarchitecture ' .. graceArch .. ' from a\n'
214-
advice = advice .. 'total of 52.730 unit tests a larger number (46) than usually (2-4) failed. If\n'
215-
advice = advice .. 'you encounter issues while using ' .. t.modFullName .. ', please,\n'
216-
advice = advice .. 'consider using one of the other versions of ' .. simpleName .. ' that are also provided\n'
217-
advice = advice .. 'for the same CPU microarchitecture.\n'
218-
LmodMessage("\n", advice)
212+
local advice = 'The module ' .. t.modFullName .. ' will be loaded. However, note that\\n'
213+
advice = advice .. 'during its building for the CPU microarchitecture ' .. graceArch .. ' from a\\n'
214+
advice = advice .. 'total of 52.730 unit tests a larger number (46) than usually (2-4) failed. If\\n'
215+
advice = advice .. 'you encounter issues while using ' .. t.modFullName .. ', please,\\n'
216+
advice = advice .. 'consider using one of the other versions of ' .. simpleName .. ' that are also provided\\n'
217+
advice = advice .. 'for the same CPU microarchitecture.\\n'
218+
LmodMessage("\\n", advice)
219219
end
220220
end
221221

0 commit comments

Comments
 (0)