mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-08-18 04:10:10 +02:00
Fix default update= on ant builds
This commit is contained in:
parent
bf8518ee8f
commit
a566ee4475
@ -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…
Reference in New Issue
Block a user