mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Fix buildToolsVersion patching if an = is present
This commit is contained in:
parent
c200f18bf5
commit
7125f97445
@ -378,7 +378,7 @@ def adapt_gradle(build_dir):
|
||||
print "Adapting build.gradle at %s" % path
|
||||
|
||||
subprocess.call(['sed', '-i',
|
||||
's@buildToolsVersion[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
|
||||
's@buildToolsVersion[ ]*[=]*[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
|
||||
+ config['build_tools'] + '"@g', path])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user