>From f4c1a10d29948da5d8b3dda0866804ef515f7f63 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 9 Sep 2017 01:36:16 +0200 Subject: [PATCH 14/16] gnulib-tool.py: follow gnulib-tool changes, part 10 Follow gnulib-tool change from 2014-09-05 "gnulib-tool: Use same options as build-aux/bootstrap to download PO files." --- pygnulib/GLImport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index 125ee9d..4352a7e 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'] -- 2.7.4