changeset 38834:5457601180bd

gnulib-tool.py: follow gnulib-tool changes, part 12 Follow gnulib-tool change 2015-02-03 Pádraig Brady <P@draigBrady.com> gnulib-tool: fix handling of patch(1) diagnostics
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Sep 2017 10:25:09 +0200
parents 1cfb10799ba5
children a49716228960
files pygnulib/GLFileSystem.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pygnulib/GLFileSystem.py	Sat Sep 09 10:21:00 2017 +0200
+++ b/pygnulib/GLFileSystem.py	Sat Sep 09 10:25:09 2017 +0200
@@ -99,7 +99,7 @@
             if isfile(path_gnulib):
                 if self.config['localdir'] and isfile(path_diff):
                     shutil.copy(path_gnulib, path_temp)
-                    command = 'patch -s "%s" < "%s"' % (path_temp, path_diff)
+                    command = 'patch -s "%s" < "%s" >&2' % (path_temp, path_diff)
                     try:  # Try to apply patch
                         sp.check_call(command, shell=True)
                     except sp.CalledProcessError as error: