1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Correct the detection of whether the frameworks_base_patch is set

This commit is contained in:
Pete Fotheringham 2024-04-28 21:42:31 +01:00
parent 9e272c4857
commit d37955c0a7

@ -302,7 +302,7 @@ for branch in ${BRANCH_NAME//,/ }; do
# If needed, apply the microG's signature spoofing patch # If needed, apply the microG's signature spoofing patch
if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then
patches_applied=true 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" echo ">> [$(date)] WARNING: Signature spoofing patches requested, but branch ($branch) does not support microG patches"
else else
# Determine which patch should be applied to the current Android source tree # Determine which patch should be applied to the current Android source tree