[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCHv2 2/2] gnulib-tool: Sync with build-aux/bootstrap options
From: |
Mathieu Anquetin |
Subject: |
[PATCHv2 2/2] gnulib-tool: Sync with build-aux/bootstrap options |
Date: |
Thu, 4 Sep 2014 08:54:49 +0200 |
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 <address@hidden>
---
gnulib-tool | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnulib-tool b/gnulib-tool
index 5031041..1cab1ed 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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
--
1.7.10.4