mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Don't clean the main ant project twice
This commit is contained in:
parent
c2963c9cde
commit
0da4667bad
@ -1085,9 +1085,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
||||
if p.returncode != 0 or p.stdout.startswith("Error: "):
|
||||
raise BuildException("Failed to update project at %s" % d, p.stdout)
|
||||
# Clean update dirs via ant
|
||||
if d == '.':
|
||||
logging.info("Cleaning main project")
|
||||
else:
|
||||
if d != '.':
|
||||
logging.info("Cleaning subproject %s" % d)
|
||||
p = FDroidPopen(['ant', 'clean'], cwd=subdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user