Re: [PATCH] Allow error output to be printed

2019-10-07 Thread Tim Rühsen
Hi Bernhard,

it's already in gnulib since yesterday. I didn't expect you to come up
with a patch, else I would have informed you on the bug tracker.

Please excuse my lack of communication here.

Regards, Tim

On 10/7/19 11:13 AM, Bernhard M. Wiedemann wrote:
> e.g. when running in a build environment without CA certificates,
> wget would silently fail without giving a hint to the user
> about the cause.
>
> For background see
> https://gitlab.com/gnuwget/wget2/merge_requests/450#note_226179055
>
> It seems, -nv still shows some non-error output.
>
> wget -q was introduced in commit feaf4df70588cf1ee30b4879a1048cc143135a67
>
> * build-aux/bootstrap: allow wget error output to be printed
> ---
>  build-aux/bootstrap | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/build-aux/bootstrap b/build-aux/bootstrap
> index 5b08e7e2d..e273ea732 100755
> --- a/build-aux/bootstrap
> +++ b/build-aux/bootstrap
> @@ -166,7 +166,7 @@ bootstrap_epilogue() { :; }
>  # 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' \
> +"wget --mirror --level=1 -nd -nv -A.po -P '%s' \
>   https://translationproject.org/latest/%s/";
>
>  # Prefer a non-empty tarname (4th argument of AC_INIT if given), else
>



[PATCH] Allow error output to be printed

2019-10-07 Thread Bernhard M. Wiedemann
e.g. when running in a build environment without CA certificates,
wget would silently fail without giving a hint to the user
about the cause.

For background see
https://gitlab.com/gnuwget/wget2/merge_requests/450#note_226179055

It seems, -nv still shows some non-error output.

wget -q was introduced in commit feaf4df70588cf1ee30b4879a1048cc143135a67

* build-aux/bootstrap: allow wget error output to be printed
---
 build-aux/bootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 5b08e7e2d..e273ea732 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -166,7 +166,7 @@ bootstrap_epilogue() { :; }
 # 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' \
+"wget --mirror --level=1 -nd -nv -A.po -P '%s' \
  https://translationproject.org/latest/%s/";
 
 # Prefer a non-empty tarname (4th argument of AC_INIT if given), else
-- 
2.16.4