Mercurial > gnulib
changeset 39911:5f0ef98dc2ce
bootstrap: fix wget command for po files.
* build-aux/bootstrap (po_download_command_format): Fix comment,
and adjust callers.
author | Akim Demaille <akim.demaille@gmail.com> |
---|---|
date | Sat, 13 Oct 2018 07:16:00 +0200 |
parents | 2d11cb9d68cb |
children | 062361de7628 |
files | ChangeLog build-aux/bootstrap |
diffstat | 2 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Oct 11 22:15:36 2018 +0200 +++ b/ChangeLog Sat Oct 13 07:16:00 2018 +0200 @@ -1,3 +1,9 @@ +2018-10-13 Akim Demaille <akim@lrde.epita.fr> + + bootstrap: fix wget command for po files. + * build-aux/bootstrap (po_download_command_format): Fix comment, + and adjust callers. + 2018-10-13 Akim Demaille <akim@lrde.epita.fr> timevar: improve the output format
--- a/build-aux/bootstrap Thu Oct 11 22:15:36 2018 +0200 +++ b/build-aux/bootstrap Sat Oct 13 07:16:00 2018 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2018-07-25.07; # UTC +scriptversion=2018-10-13.05; # UTC # Bootstrap this package from checked-out sources. @@ -162,9 +162,9 @@ # Override it via your own definition in bootstrap.conf. bootstrap_epilogue() { :; } -# The command to download all .po files for a specified domain into -# a specified directory. Fill in the first %s is the domain name, and -# the second with the destination directory. +# The command to download all .po files for a specified domain into a +# specified directory. Fill in the first %s with the destination +# directory and the second with the domain name. po_download_command_format=\ "wget --mirror --level=1 -nd -q -A.po -P '%s' \ https://translationproject.org/latest/%s/" @@ -734,7 +734,7 @@ subdir=$1 domain=$2 echo "$me: getting translations into $subdir for $domain..." - cmd=$(printf "$po_download_command_format" "$domain" "$subdir") + cmd=$(printf "$po_download_command_format" "$subdir" "$domain") eval "$cmd" }