From d48094d0831353fcbc1ecf1b405038722a518d09 Mon Sep 17 00:00:00 2001 From: y Date: Mon, 21 Dec 2020 21:46:50 -0500 Subject: [PATCH] fixed issue where the script would choose wrong ROM flavor --- Q_Builder.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 Q_Builder.sh diff --git a/Q_Builder.sh b/Q_Builder.sh old mode 100644 new mode 100755 index 2487acc..1314269 --- a/Q_Builder.sh +++ b/Q_Builder.sh @@ -19,8 +19,8 @@ sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-mult while true; do read -p "Do ya want android mobile (m) or android tv (t)?" mt case $mt in - [Mm]* ) FOSTERTYPE=t; break;; - [Tt]* ) FOSTERTYPE=f; break;; + [Mm]* ) FOSTERTYPE=m; break;; + [Tt]* ) FOSTERTYPE=t; break;; * ) echo "Please answer yes or no.";; esac done @@ -178,7 +178,7 @@ mkdir -p $BUILDBASE/android/lineage/out/target/product/$OUTPUTFILE/vendor/lib/mo source build/envsetup.sh # check rom type and assign gapps type and rom type -if [ $FOSTERTYPE = "m" ]; +if [ $FOSTERTYPE = "t" ]; then TYPE="tvmini" OUTPUTFILE="foster"