mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Keep a '=' if present, it means something in gradle
This commit is contained in:
parent
7125f97445
commit
74a4dc7766
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
|
||||
|
||||
subprocess.call(['sed', '-i',
|
||||
's@buildToolsVersion[ ]*[=]*[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
|
||||
r's@buildToolsVersion\([ =]*\)["\'][0-9\.]*["\']@buildToolsVersion\1"'
|
||||
+ config['build_tools'] + '"@g', path])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue