From cf50e2a2dbdb9bdae6cbffb5bc77d2efb14d9f9a Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Fri, 9 Dec 2022 11:41:26 +0300 Subject: [PATCH] Don't hide output from extension checks --- plugins/python-build/bin/python-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index fadbd1fa..caed6fd9 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1791,7 +1791,7 @@ verify_python() { } try_python_module() { - if ! "$PYTHON_BIN" -c "import $1" 1>/dev/null 2>&1; then + if ! "$PYTHON_BIN" -c "import $1"; then { colorize 1 "WARNING" echo ": The Python $1 extension was not compiled${3:+ $3}. Missing the ${2:-$1}?" return 0 @@ -1800,7 +1800,7 @@ try_python_module() { } verify_python_module() { - if ! "$PYTHON_BIN" -c "import $1" 1>/dev/null 2>&1; then + if ! "$PYTHON_BIN" -c "import $1"; then { colorize 1 "ERROR" echo ": The Python $1 extension was not compiled. Missing the ${2:-$1}?" echo