From 2c6be31bde3774f0c5c3411cd9201c8a29acaba2 Mon Sep 17 00:00:00 2001 From: Victor Brunini Date: Thu, 11 Jan 2024 21:05:56 -0800 Subject: [PATCH] =?UTF-8?q?modules:=20Truncate=20configure=20options=20com?= =?UTF-8?q?ment=20in=20tcl=20modules=20to=208192=20ch=E2=80=A6=20(#42054)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/spack/templates/modules/modulefile.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/spack/templates/modules/modulefile.tcl b/share/spack/templates/modules/modulefile.tcl index d1593b88280..b162e3f62eb 100644 --- a/share/spack/templates/modules/modulefile.tcl +++ b/share/spack/templates/modules/modulefile.tcl @@ -4,7 +4,7 @@ ## {{ spec.short_spec }} ## {% if configure_options %} -## Configure options: {{ configure_options }} +## Configure options: {{ configure_options | wordwrap(8192 - 23, True, "\n## ", 0) }} ## {% endif %}