mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Fix default update= on ant builds
This commit is contained in:
parent
bf8518ee8f
commit
a566ee4475
2 changed files with 2 additions and 2 deletions
|
@ -1455,7 +1455,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
|||
(app.id, build.version), p.output)
|
||||
|
||||
# Generate (or update) the ant build file, build.xml...
|
||||
if build.update and build.update != ['no'] and build.method() == 'ant':
|
||||
if build.method() == 'ant' and build.update != ['no']:
|
||||
parms = ['android', 'update', 'lib-project']
|
||||
lparms = ['android', 'update', 'project']
|
||||
|
||||
|
|
|
@ -312,7 +312,7 @@ class Build():
|
|||
for f in ['maven', 'gradle', 'kivy']:
|
||||
if self.get_flag(f):
|
||||
return f
|
||||
if build.output:
|
||||
if self.output:
|
||||
return 'raw'
|
||||
return 'ant'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue