From bd26d8407f28186c9db86e96260bd51f25e07f01 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 9 Jan 2021 14:04:40 -0800 Subject: [PATCH] build.sh: recreate previous behavior with no args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When calling build.sh with no args asking for a specific build type, that should be equivalent with calling it with the -desktop arg. Reported-by: Salvador Cuñat Signed-off-by: Dirk Hohndel --- scripts/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 1c87275ae..52e30c0c9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -133,6 +133,11 @@ while [[ $# -gt 0 ]] ; do shift done +# recreate the old default behavior - no flag set implies build desktop +if [ "$BUILD_MOBILE$BUILD_DOWNLOADER" = "" ] ; then + BUILD_DESKTOP="1" +fi + if [ "$BUILD_DEPS" = "1" ] && [ "$QUICK" = "1" ] ; then echo "Conflicting options; cannot request combine -build-deps and -quick" exit 1;