]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Sync with build-aux/bootstrap options
authorMathieu Anquetin <mathieu@anquetin.eu>
Thu, 4 Sep 2014 06:54:49 +0000 (08:54 +0200)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 6 Sep 2014 00:17:27 +0000 (17:17 -0700)
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>
ChangeLog
gnulib-tool

index f5bae5156c751db2ac0d093d0f6aa57bf53dcdbb..2da7d9bb0d9c94cc5c3f2a6e9f0e06715f86d366 100644 (file)
--- 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.
index 5031041ad24702db47ca21860c07189aa780b2bb..1cab1ed145b902b3cd9fa1ed4aaa2bf09263c3f8 100755 (executable)
@@ -5029,10 +5029,10 @@ s,//*$,/,'
        && { # 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