mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01: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
|
print "Adapting build.gradle at %s" % path
|
||||||
|
|
||||||
subprocess.call(['sed', '-i',
|
subprocess.call(['sed', '-i',
|
||||||
's@buildToolsVersion[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
|
's@buildToolsVersion[ ]*[=]*[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
|
||||||
+ config['build_tools'] + '"@g', path])
|
+ config['build_tools'] + '"@g', path])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user