diff --git a/src/build.sh b/src/build.sh index fe63dd8..8592150 100755 --- a/src/build.sh +++ b/src/build.sh @@ -159,7 +159,7 @@ for branch in ${BRANCH_NAME//,/ }; do modules_permission_patch="packages_modules_Permission-Android13.patch" ;; lineage-21.0*) - themuppets_branch="lineage-20.0" + themuppets_branch="lineage-21.0" android_version="14" frameworks_base_patch="android_frameworks_base-Android14.patch" modules_permission_patch="packages_modules_Permission-Android14.patch" diff --git a/src/init.sh b/src/init.sh index dae4142..2ce1a0f 100755 --- a/src/init.sh +++ b/src/init.sh @@ -61,7 +61,7 @@ if [ "$SIGN_BUILDS" = true ]; then fi # Android 14 requires to set a BUILD file for bazel to avoid errors: - cat > $"KEYS_DIR"/BUILD << _EOB + cat > "$KEYS_DIR"/BUILD << _EOB # adding an empty BUILD file fixes the A14 build error: # "ERROR: no such package 'keys': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package." # adding the filegroup "android_certificate_directory" fixes the A14 build error: