mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Fix build-tools patching when it uses variables
Like: buildToolsVersion FOO_VERSION
This commit is contained in:
parent
c877d4524a
commit
d706cfa7d8
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ def adapt_gradle(build_dir):
|
|||
if not os.path.isfile(path):
|
||||
continue
|
||||
logging.debug("Adapting %s at %s" % (filename, path))
|
||||
common.regsub_file(r"""(\s*)buildToolsVersion([\s=]+)['"].*""",
|
||||
common.regsub_file(r"""(\s*)buildToolsVersion([\s=]+).*""",
|
||||
r"""\1buildToolsVersion\2'%s'""" % config['build_tools'],
|
||||
path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue