bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* gnulib-tool.py: Fix output of --create-megatestdir
@ 2024-04-20 19:56 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2024-04-20 19:56 UTC (permalink / raw
  To: bug-gnulib

This difference in output was highlighted by the sh+py mode:

diff -u tmp3271005-result/do-autobuild tmp3271005-result-glpy3271006/do-autobuild
--- tmp3271005-result/do-autobuild      2024-04-20 20:42:09.788152428 +0200
+++ tmp3271005-result-glpy3271006/do-autobuild  2024-04-20 20:41:12.699970866 +0200
@@ -5,7 +5,7 @@
 for module in fopen fopen-gnu ALL; do
   echo "Working on module $module..."
   safemodule=`echo $module | sed -e 's|/|-|g'`
-  (echo "To: gnulib@autobuild.josefsson.org"
+  (echo "To: gnulib@autobuild.josefsson.org"\
    echo
    set -x
    : autobuild project... $module


This patch fixes it.


2024-04-20  Bruno Haible  <bruno@clisp.org>

	gnulib-tool.py: Fix output of --create-megatestdir.
	* pygnulib/GLTestDir.py (GLMegaTestDir.execute): Remove stray backslash
	from output.

diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py
index 38427e402e..6f74453f29 100644
--- a/pygnulib/GLTestDir.py
+++ b/pygnulib/GLTestDir.py
@@ -973,7 +973,7 @@ def execute(self) -> None:
         emit += 'for module in %s; do\n' % ' '.join(megasubdirs)
         emit += '  echo "Working on module $module..."\n'
         emit += '  safemodule=`echo $module | sed -e \'s|/|-|g\'`\n'
-        emit += '  (echo "To: gnulib@autobuild.josefsson.org"\\\n'
+        emit += '  (echo "To: gnulib@autobuild.josefsson.org"\n'
         emit += '   echo\n'
         emit += '   set -x\n'
         emit += '   : autobuild project... $module\n'





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-20 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-20 19:56 gnulib-tool.py: Fix output of --create-megatestdir Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).