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

Fix apk path on gradle builds with many subdirs

This commit is contained in:
Daniel Martí 2014-04-15 11:50:02 +02:00
parent a520076331
commit 5c483a5484

View File

@ -682,7 +682,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
dd = build_dir
if 'subdir' in thisbuild:
dd = os.path.join(dd, thisbuild['subdir'])
basename = thisbuild['subdir']
basename = os.path.basename(thisbuild['subdir'])
if '@' in thisbuild['gradle']:
dd = os.path.join(dd, thisbuild['gradle'].split('@')[1])
basename = app['id']