Skip to content

Commit 6b3523d

Browse files
committed
unix: use run() to build GCC
This was the last orphaned use of exec().
1 parent 446a77f commit 6b3523d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def build_gcc(client, image):
136136
build_env.copy_file(archive_path("binutils", "linux64"))
137137
build_env.copy_file(SUPPORT / "build-gcc.sh")
138138

139-
build_env.exec(
140-
"/build/build-gcc.sh",
139+
build_env.run(
140+
"build-gcc.sh",
141141
environment={
142142
"BINUTILS_VERSION": DOWNLOADS["binutils"]["version"],
143143
"GCC_VERSION": DOWNLOADS["gcc"]["version"],

0 commit comments

Comments
 (0)