Merge pull request #1195 from jack1142/fix_arch_x86_64_shell_true

Fix Rosetta2 usage for shell commands
This commit is contained in:
Joe Rickerby
2022-07-29 16:06:32 +01:00
committed by GitHub
+1 -1
View File
@@ -505,7 +505,7 @@ def build(options: Options, tmp_path: Path) -> None:
# define a custom 'call' function that adds the arch prefix each time
call_with_arch = functools.partial(call, *arch_prefix)
shell_with_arch = functools.partial(shell, *arch_prefix)
shell_with_arch = functools.partial(call, *arch_prefix, "/bin/sh", "-c")
# Use --no-download to ensure determinism by using seed libraries
# built into virtualenv