fix: ensure that deep paths exist before copying files. (#2418)

This commit is contained in:
Russell Keith-Magee
2025-05-26 23:42:21 -04:00
committed by GitHub
parent 2d6b40d669
commit 2b4a8535d9
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -342,6 +342,7 @@ class OCIContainer:
)
else:
exec_process: subprocess.Popen[bytes]
self.call(["mkdir", "-p", to_path.parent])
with subprocess.Popen(
[
self.engine.name,