From: Bruno Haible Date: Fri, 8 Sep 2017 23:36:16 +0000 (+0200) Subject: gnulib-tool.py: follow gnulib-tool changes, part 10 X-Git-Tag: v1.0~5934 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=08369d22cb7fb70b9ef778cc3bed0280b69de74e;p=gnulib.git 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. --- 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']