From 08369d22cb7fb70b9ef778cc3bed0280b69de74e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 9 Sep 2017 01:36:16 +0200 Subject: gnulib-tool.py: follow gnulib-tool changes, part 10 Follow gnulib-tool change 2014-09-05 Mathieu Anquetin gnulib-tool: Use same options as build-aux/bootstrap to download PO files. --- pygnulib/GLImport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pygnulib/GLImport.py') diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index 125ee9d2b7..4352a7ec55 100644 --- a/pygnulib/GLImport.py +++ b/pygnulib/GLImport.py @@ -1207,10 +1207,10 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix cmd = 'type rsync 2>/dev/null | grep / > /dev/null' result = sp.call(cmd, shell=True) if result == 0: # use rsync - args = ['rsync', '-Lrtz', '%sgnulib/' % TP_RSYNC_URI, '.'] + args = ['rsync', '--delete', '--exclude', '*.s1', '-Lrtz', '%sgnulib/' % TP_RSYNC_URI, '.'] result = sp.call(args, shell=True) if result != 0: # use wget - args = ['wget', '--no-verbose', '-r', '-l1', '-nd', '-np', '-A.po', + args = ['wget', '--no-verbose', '--mirror', '-nd', '-np', '-A.po', '-P', '.', '%sgnulib/' % TP_URL] sp.call(args, shell=True) else: # if self.config['dryrun'] -- cgit v1.2.1