diff options
author | Bruno Haible <bruno@clisp.org> | 2017-09-09 01:36:16 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-09-09 16:29:00 +0200 |
commit | 08369d22cb7fb70b9ef778cc3bed0280b69de74e (patch) | |
tree | 690041d3e79c3354dba63fe180c002656aaea3a0 /pygnulib/GLImport.py | |
parent | 48c442f3c1d94e87c4672268adb3c2b2ccc53727 (diff) | |
download | gnulib-08369d22cb7fb70b9ef778cc3bed0280b69de74e.tar.gz |
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.
Diffstat (limited to 'pygnulib/GLImport.py')
-rw-r--r-- | pygnulib/GLImport.py | 4 |
1 files changed, 2 insertions, 2 deletions
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'] |