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

Be less clumsy when removing signingConfigs

This commit is contained in:
Daniel Martí 2014-06-05 10:02:30 +02:00
parent 3690b89e0a
commit 6aeb57e950

View File

@ -1559,7 +1559,7 @@ def remove_signing_keys(build_dir):
signing_configs = re.compile(r'^[\t ]*signingConfigs[ \t]*{[ \t]*$')
line_matches = [
re.compile(r'^[\t ]*signingConfig [^ ]*$'),
re.compile(r'.*android\.signingConfigs\..*'),
re.compile(r'.*android\.signingConfigs\.[^{]*$'),
re.compile(r'.*variant\.outputFile = .*'),
re.compile(r'.*\.readLine\(.*'),
]