diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-10-13 07:16:00 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-10-13 07:19:39 +0200 |
commit | 6c3b072e6a48d45455b37420caf14b804cbba23c (patch) | |
tree | ebe44d65208fc7c653963c7e1af04cceb04c0756 /build-aux/bootstrap | |
parent | 5ac17e36cff1e439da8c55e854eba2dc6fc8d2cc (diff) | |
download | gnulib-6c3b072e6a48d45455b37420caf14b804cbba23c.tar.gz |
bootstrap: fix wget command for po files.
* build-aux/bootstrap (po_download_command_format): Fix comment,
and adjust callers.
Diffstat (limited to 'build-aux/bootstrap')
-rwxr-xr-x | build-aux/bootstrap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index cde39f4e75..5264d9f1e1 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -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 @@ bootstrap_post_import_hook() { :; } # 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 @@ download_po_files() { 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" } |