Fix bug with copy-in

This commit is contained in:
Joe Rickerby
2023-05-14 20:50:33 +01:00
parent 290a55097d
commit f29da13c2c
+1 -1
View File
@@ -192,7 +192,7 @@ class OCIContainer:
if from_path.is_dir():
self.call(["mkdir", "-p", to_path])
subprocess.run(
f"tar cf - . | {self.engine} exec -i {self.name} tar --no-same-owner -xC {shell_quote(to_path)} -f -",
f"tar cf - . | {self.engine.name} exec -i {self.name} tar --no-same-owner -xC {shell_quote(to_path)} -f -",
shell=True,
check=True,
cwd=from_path,