From f29da13c2c51e74f950d6f1187910a16c5070d8d Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sun, 14 May 2023 20:50:33 +0100 Subject: [PATCH] Fix bug with copy-in --- cibuildwheel/oci_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/oci_container.py b/cibuildwheel/oci_container.py index 59932e2e..ac71e984 100644 --- a/cibuildwheel/oci_container.py +++ b/cibuildwheel/oci_container.py @@ -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,