mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fix buildToolsVersion patching if an = is present
This commit is contained in:
parent
c200f18bf5
commit
7125f97445
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue