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

Commit

Permalink
fixed issue where the script would choose wrong ROM flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
y committed Dec 22, 2020
1 parent 7a135ea commit d48094d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Q_Builder.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d48094d

Please sign in to comment.