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: gnu...@autobuild.josefsson.org" + (echo "To: gnu...@autobuild.josefsson.org"\ echo set -x : autobuild project... $module
This patch fixes it. 2024-04-20 Bruno Haible <br...@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: gnu...@autobuild.josefsson.org"\\\n' + emit += ' (echo "To: gnu...@autobuild.josefsson.org"\n' emit += ' echo\n' emit += ' set -x\n' emit += ' : autobuild project... $module\n'