mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Don't clean the main ant project twice
This commit is contained in:
parent
c2963c9cde
commit
0da4667bad
1 changed files with 2 additions and 4 deletions
|
@ -1085,11 +1085,9 @@ 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)
|
||||
p = FDroidPopen(['ant', 'clean'], cwd=subdir)
|
||||
|
||||
return (root_dir, srclibpaths)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue