mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 02:49:03 +08:00
Build: Don't remove dir with os.remove use rmdir instead.
part of CURA-12229
This commit is contained in:
parent
2aed655c8b
commit
cd2e4220f0
@ -264,7 +264,7 @@ class CuraConan(ConanFile):
|
||||
os.remove(file)
|
||||
print(f"deleted file: {file}")
|
||||
for dir_ in to_remove_dirs:
|
||||
os.remove(dir_)
|
||||
rmdir(self, dir_)
|
||||
print(f"deleted dir_: {dir_}")
|
||||
|
||||
def _generate_pyinstaller_spec(self, location, entrypoint_location, icon_path, entitlements_file):
|
||||
|
Loading…
x
Reference in New Issue
Block a user