Need full recursive rmdir as it might not be empty.

This commit is contained in:
Rene Rivera
2018-05-14 23:21:10 -05:00
parent 02d09e78b6
commit aba0bb4470

View File

@ -93,7 +93,7 @@ class script(script_common):
if self.repo != 'boost':
# Copy in the existing library tree checkout.
os.rmdir(self.repo_path)
shutil.rmtree(self.repo_path)
shutil.copytree(self.root_dir, self.repo_path)
# Fetch the dependencies for the library we are testing.