bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool.py: Fix output of --create-megatestdir


From: Bruno Haible
Subject: gnulib-tool.py: Fix output of --create-megatestdir
Date: Sat, 20 Apr 2024 21:56:10 +0200

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'






reply via email to

[Prev in Thread] Current Thread [Next in Thread]