From d37955c0a7cabba0ea7ea86187ffc8a1b60162fd Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Sun, 28 Apr 2024 21:42:31 +0100 Subject: [PATCH] Correct the detection of whether the frameworks_base_patch is set --- src/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.sh b/src/build.sh index a446cac..c376527 100755 --- a/src/build.sh +++ b/src/build.sh @@ -302,7 +302,7 @@ for branch in ${BRANCH_NAME//,/ }; do # If needed, apply the microG's signature spoofing patch if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then patches_applied=true - if [ -n "$frameworks_base_patch" ]; then + if [ -z "$frameworks_base_patch" ]; then echo ">> [$(date)] WARNING: Signature spoofing patches requested, but branch ($branch) does not support microG patches" else # Determine which patch should be applied to the current Android source tree