Skip to content

Commit 508b501

Browse files
committed
ci: avoid ANSI C-Quoting
While `bash` and other shells support it, `dash` (`/bin/sh` in Ubuntu) does not, and it is better to avoid Bash-dependent behaviors anyway. In particular, GitHub Actions, when using a container, does not attempt to force `bash`, thus we can simply use `dash` instead. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 0b59ce7 commit 508b501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ jobs:
338338
rust_module_parameters_builtin_custom.my_usize=84 \
339339
rust_module_parameters_builtin_custom.my_array=1,2,3 \
340340
' \
341-
| sed s:$'\r'$:: \
341+
| sed 's:\r$::' \
342342
| tee qemu-stdout.log
343343
344344
# The kernel should not be generating any warnings

0 commit comments

Comments
 (0)