Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit d48094d

Browse files
author
y
committed
fixed issue where the script would choose wrong ROM flavor
1 parent 7a135ea commit d48094d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Q_Builder.sh

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-mult
1919
while true; do
2020
read -p "Do ya want android mobile (m) or android tv (t)?" mt
2121
case $mt in
22-
[Mm]* ) FOSTERTYPE=t; break;;
23-
[Tt]* ) FOSTERTYPE=f; break;;
22+
[Mm]* ) FOSTERTYPE=m; break;;
23+
[Tt]* ) FOSTERTYPE=t; break;;
2424
* ) echo "Please answer yes or no.";;
2525
esac
2626
done
@@ -178,7 +178,7 @@ mkdir -p $BUILDBASE/android/lineage/out/target/product/$OUTPUTFILE/vendor/lib/mo
178178
source build/envsetup.sh
179179

180180
# check rom type and assign gapps type and rom type
181-
if [ $FOSTERTYPE = "m" ];
181+
if [ $FOSTERTYPE = "t" ];
182182
then
183183
TYPE="tvmini"
184184
OUTPUTFILE="foster"

0 commit comments

Comments
 (0)