changeset 17754:763375bb6b33

gnulib-tool: Sync with build-aux/bootstrap options Options for downloading PO files were not in sync with their build-aux/bootstrap counterpart. This commit adopt the same behavior for these tools. Signed-off-by: Mathieu Anquetin <mathieu@anquetin.eu>
author Mathieu Anquetin <mathieu@anquetin.eu>
date Thu, 04 Sep 2014 08:54:49 +0200
parents c91f916e943e
children fa3f76719bf6
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-09-05  Mathieu Anquetin  <mathieu@anquetin.eu>
+
+	Trivial change.
+	* gnulib-tool: Use same options as build-aux/bootstrap to download
+	PO files.
+
 2014-09-05  Mathieu Anquetin  <mathieu@anquetin.eu>
 
 	Trivial change.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -5029,10 +5029,10 @@
        && { # Prefer rsync over wget if it is available, since it consumes
             # less network bandwidth, due to compression.
             if type rsync 2>/dev/null | grep / > /dev/null; then
-              rsync -Lrtz "${TP_RSYNC_URI}gnulib/" . && return
+              rsync --delete --exclude "*.s1" -Lrtz "${TP_RSYNC_URI}gnulib/" . && return
             fi
 
-            wget --no-verbose -r -l1 -nd -np -A.po "${TP_URL}gnulib/"
+            wget --no-verbose --mirror -nd -np  -A.po -P . "${TP_URL}gnulib/"
           }
       )
     else