g7 / sailfishx-patcher-f5321

Patcher script that applies the f5321 (Xperia X Compact) compatibility layer on top of official Sailfish X f5121 images
29 stars 5 forks source link

Use grep without -P (Perl) flag #7

Closed f03el closed 5 years ago

f03el commented 5 years ago

When patching 3.2.0.8, busybox grep is used, and it doesn't support Perl regular expressions. Negative lookahead is probably difficult to do without that, so rewrite as two grep expressions, the second to filter out /src/ paths. 3.0.1.11 worked fine, so it's probably new in 3.2.0.8.

g7 commented 5 years ago

Seems to work nicely, thank you very much for the contribution!

f03el commented 5 years ago

You're fast! Thanks you too for the script!

g7 commented 5 years ago

Hehe, I was just implementing a similar fix, but you beat me to it :)