mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Keep a '=' if present, it means something in gradle
This commit is contained in:
parent
7125f97445
commit
74a4dc7766
@ -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…
Reference in New Issue
Block a user