diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 2a829ec9..92f3d00e 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -613,7 +613,9 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d commands = [config['gradle']] if 'preassemble' in thisbuild: commands += thisbuild['preassemble'].split() - commands += ['assemble'+''.join(flavours)+'Release'] + flavours_cmd = ''.join(flavours) + flavours_cmd = flavours_cmd[0].upper() + flavours_cmd[1:] + commands += ['assemble'+flavours_cmd+'Release'] p = FDroidPopen(commands, cwd=gradle_dir)