From 41f8bc259c617cd1bb2b4e52d53461f281eea6ec Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 21 Feb 2019 02:40:45 +0200 Subject: [PATCH] build-package.sh: fix handling quiet builds Recent changes to this script set $TERMUX_QUIET_BUILD to false which made all builds quiet by default due to the way how this variable was handled. --- build-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-package.sh b/build-package.sh index 9bf37088c..1592a1329 100755 --- a/build-package.sh +++ b/build-package.sh @@ -1041,7 +1041,7 @@ termux_step_configure_autotools() { fi local QUIET_BUILD= - if [ ! -z ${TERMUX_QUIET_BUILD+x} ]; then + if [ $TERMUX_QUIET_BUILD = true ]; then QUIET_BUILD="--enable-silent-rules --silent --quiet" fi @@ -1192,7 +1192,7 @@ termux_step_post_configure() { termux_step_make() { local QUIET_BUILD= - if [ ! -z ${TERMUX_QUIET_BUILD+x} ]; then + if [ $TERMUX_QUIET_BUILD = true ]; then QUIET_BUILD="-s" fi