mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix remove build directory path
This commit is contained in:
parent
9d3add538b
commit
fd6a2e406a
@ -127,9 +127,9 @@ def main():
|
||||
if args.size_info:
|
||||
build_info.write_size_info(args.size_info)
|
||||
if not build_info.preserve:
|
||||
logging.info("Removing build directory {}".format(build_info.build_dir))
|
||||
logging.info("Removing build directory {}".format(build_info.build_path))
|
||||
# we only remove binaries here, log files are still needed by check_build_warnings.py
|
||||
shutil.rmtree(build_info.build_dir, ignore_errors=True)
|
||||
shutil.rmtree(build_info.build_path, ignore_errors=True)
|
||||
|
||||
if failed_builds:
|
||||
logging.error("The following build have failed:")
|
||||
|
Loading…
Reference in New Issue
Block a user