From 85015e12b666654713b447fef271c60f172636d2 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Fri, 12 Jun 2020 01:03:01 +0200 Subject: [PATCH] [Android] Add possibility to set VERBOSE in android build scripts globally Let it still be overwritten by --verbose parameter Co-authored-by: talregev Signed-off-by: Vitalii Koshura --- android/buildAndroidBOINC-CI.sh | 3 ++- android/build_all.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/android/buildAndroidBOINC-CI.sh b/android/buildAndroidBOINC-CI.sh index 8335687664..df91ad99dc 100755 --- a/android/buildAndroidBOINC-CI.sh +++ b/android/buildAndroidBOINC-CI.sh @@ -48,7 +48,8 @@ doclean="" cache_dir="" arch="" silent="" -verbose="" +verbose="${VERBOSE:-no}" + while [ $# -gt 0 ]; do key="$1" case $key in diff --git a/android/build_all.sh b/android/build_all.sh index 990621ba27..130cbe2cf9 100755 --- a/android/build_all.sh +++ b/android/build_all.sh @@ -6,7 +6,8 @@ set -e # # Script to compile everything BOINC needs for Android -export VERBOSE=false +export VERBOSE="no" + cd ../ BUILD_DIR="$PWD/3rdParty/buildCache" cd android/