From d5b12f826d415fb840fb88f066a4593cbb14dfb3 Mon Sep 17 00:00:00 2001 From: native-api Date: Sun, 1 May 2022 05:49:09 +0300 Subject: [PATCH] Make PYENV_DEBUG imply -v for `pyenv install` (#2347) Trace logs without `-v` are usually useless due to missing the build part. So this leaves one less thing for users to worry about when submitting error reports. Mentioning `-v` in the issue template should stay for some time since users report on old versions, too. --- plugins/python-build/bin/pyenv-install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/python-build/bin/pyenv-install b/plugins/python-build/bin/pyenv-install index 07d5555f..b966ff88 100755 --- a/plugins/python-build/bin/pyenv-install +++ b/plugins/python-build/bin/pyenv-install @@ -73,6 +73,8 @@ unset VERBOSE unset HAS_PATCH unset DEBUG +[ -n "$PYENV_DEBUG" ] && VERBOSE="-v" + parse_options "$@" for option in "${OPTIONS[@]}"; do case "$option" in