summaryrefslogtreecommitdiff
path: root/pygnulib/GLFileSystem.py
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-09-09 10:25:09 +0200
committerBruno Haible <bruno@clisp.org>2017-09-09 16:29:00 +0200
commite321e9c3033cb6717d9dd8277c8467c5c15b76e8 (patch)
treecb5b1b6f5572fb11ab35e92eced86cc78cffc748 /pygnulib/GLFileSystem.py
parent17e4d7992bc1c91cd470cfb4b4b47898a92b67e5 (diff)
downloadgnulib-e321e9c3033cb6717d9dd8277c8467c5c15b76e8.tar.gz
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
Diffstat (limited to 'pygnulib/GLFileSystem.py')
-rw-r--r--pygnulib/GLFileSystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygnulib/GLFileSystem.py b/pygnulib/GLFileSystem.py
index 7db09e1ce6..1e752068d4 100644
--- a/pygnulib/GLFileSystem.py
+++ b/pygnulib/GLFileSystem.py
@@ -99,7 +99,7 @@ class GLFileSystem(object):
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: