Fix Rosetta2 usage for shell commands

This commit is contained in:
jack1142
2022-07-25 16:15:00 +02:00
parent fb63392538
commit aa4ca42683
+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