Mercurial > gnulib
changeset 38832:3701883dffe1
gnulib-tool.py: follow gnulib-tool changes, part 10
Follow gnulib-tool change
2014-09-05 Mathieu Anquetin <mathieu@anquetin.eu>
gnulib-tool: Use same options as build-aux/bootstrap to download PO files.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 09 Sep 2017 01:36:16 +0200 |
parents | 1c17bd7a9bd1 |
children | 1cfb10799ba5 |
files | pygnulib/GLImport.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/GLImport.py Sat Sep 09 01:26:20 2017 +0200 +++ b/pygnulib/GLImport.py Sat Sep 09 01:36:16 2017 +0200 @@ -1207,10 +1207,10 @@ 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']