From 6c3b072e6a48d45455b37420caf14b804cbba23c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 13 Oct 2018 07:16:00 +0200 Subject: bootstrap: fix wget command for po files. * build-aux/bootstrap (po_download_command_format): Fix comment, and adjust callers. --- build-aux/bootstrap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build-aux/bootstrap') 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" } -- cgit v1.2.1