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.
This commit is contained in:
Leonid Pliushch 2019-02-21 02:40:45 +02:00
parent 4d3dc0357d
commit 41f8bc259c
1 changed files with 2 additions and 2 deletions

View File

@ -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