1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Keep a '=' if present, it means something in gradle

This commit is contained in:
Daniel Martí 2014-01-26 17:22:48 +01:00
parent 7125f97445
commit 74a4dc7766

View File

@ -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])