1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

No need to walk the entire src/main subtree in gradle apps

This commit is contained in:
Daniel Martí 2015-06-03 15:43:55 +02:00
parent 50a3564989
commit 9be9b7e919

View File

@ -865,7 +865,7 @@ def retrieve_string(app_dir, string, xmlfiles=None):
xmlfiles = []
for res_dir in [
os.path.join(app_dir, 'res'),
os.path.join(app_dir, 'src', 'main'),
os.path.join(app_dir, 'src', 'main', 'res'),
]:
for r, d, f in os.walk(res_dir):
if os.path.basename(r) == 'values':