mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
fix copy_triple_t_store_metadata() w/ multiple apps in same repo
This commit is contained in:
parent
fa4fdd0773
commit
051905620d
@ -1059,12 +1059,12 @@ def copy_triple_t_store_metadata(apps):
|
||||
if flavor not in ('yes', 'no'):
|
||||
p = os.path.join('build', packageName, gradle_path, 'src', flavor, 'play')
|
||||
gradle_subdirs.add(p)
|
||||
if not gradle_subdirs:
|
||||
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, '*', 'src', '*', 'play')))
|
||||
if not gradle_subdirs and len(app.get('Builds', [])) and app.get('Builds', [])[-1].subdir:
|
||||
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, app.get('Builds', [])[-1].subdir, 'src', '*', 'play')))
|
||||
if not gradle_subdirs:
|
||||
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, '*', 'src', '*', 'play')))
|
||||
|
||||
for d in gradle_subdirs:
|
||||
for d in sorted(gradle_subdirs):
|
||||
logging.debug('Triple-T Gradle Play Publisher: ' + d)
|
||||
for root, dirs, files in os.walk(d):
|
||||
segments = root.split('/')
|
||||
|
Loading…
Reference in New Issue
Block a user