From 548f73d98877c3d69323daa9d3e3b8d5defc68bf Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 22 Feb 2019 21:32:33 +0100 Subject: [PATCH] nightly: search subdirs called 'fdroid' for APKs @MTRNord tracked down this bug while working on his app https://gitlab.com/Nordgedanken/simplematrix --- fdroidserver/nightly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/nightly.py b/fdroidserver/nightly.py index 9579ae50..e6f766c0 100644 --- a/fdroidserver/nightly.py +++ b/fdroidserver/nightly.py @@ -249,8 +249,8 @@ Last updated: {date}'''.format(repo_git_base=repo_git_base, common.assert_config_keystore(config) for root, dirs, files in os.walk(cibase): - for d in ('fdroid', '.git', '.gradle'): - if d in dirs: + for d in dirs: + if d == '.git' or d == '.gradle' or (d == 'fdroid' and root == cibase): dirs.remove(d) for f in files: if f.endswith('-debug.apk'):