chiark / gitweb /
No need to walk the entire src/main subtree in gradle apps
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 3 Jun 2015 13:43:55 +0000 (15:43 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 3 Jun 2015 13:43:55 +0000 (15:43 +0200)
fdroidserver/common.py

index 407a852fef4ec125172313db656258cc5dbfe62b..e756fd051de5247042d6ac1ef9820da182607f93 100644 (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':