Skip to content

Commit 84d6796

Browse files
authored
Converted calls to 'sh' into bash calls that use process substitution, which should avoid the 'Argument list too long' error that's been seen on a few CI jobs. (#14367)
1 parent 4501e08 commit 84d6796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,9 +3000,9 @@ for host in "${ALL_HOSTS[@]}"; do
30003000
echo "Test command: ${dry_run_command_output}"
30013001

30023002
if [[ ! "${test_paths}" ]]; then
3003-
sh -e -x -c "${dry_run_command_output}"
3003+
env bash -ex <(echo -e "${dry_run_command_output}")
30043004
else
3005-
sh -e -x -c "${dry_run_command_output} $(echo ${test_paths[@]})"
3005+
env bash -ex <(echo -e "${dry_run_command_output}" "${test_paths[@]}")
30063006
fi
30073007
else
30083008
call "${build_cmd[@]}" ${BUILD_TARGET_FLAG} ${test_target}

0 commit comments

Comments
 (0)