From: Mathieu Anquetin Date: Thu, 4 Sep 2014 06:54:49 +0000 (+0200) Subject: gnulib-tool: Sync with build-aux/bootstrap options X-Git-Tag: v1.0~7304 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9565c3be73eb6d76b7b42a21d68d2e00a62abb6d;p=gnulib.git 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 --- diff --git a/ChangeLog b/ChangeLog index f5bae5156c..2da7d9bb0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-09-05 Mathieu Anquetin + + Trivial change. + * gnulib-tool: Use same options as build-aux/bootstrap to download + PO files. + 2014-09-05 Mathieu Anquetin Trivial change. diff --git a/gnulib-tool b/gnulib-tool index 5031041ad2..1cab1ed145 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