From 12cfe59578b0ad5ca01d7e85a8b12ced194980a1 Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Wed, 15 Apr 2026 02:23:53 +0200 Subject: [PATCH] fix: don't use `echo -e` in POSIX shell The `-e` flag is not defined for `echo` in POSIX shell. Use `printf` instead. Part of #12636 --- build_tools/check.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build_tools/check.sh b/build_tools/check.sh index d77f91a6f..b40aa6ef7 100755 --- a/build_tools/check.sh +++ b/build_tools/check.sh @@ -130,13 +130,16 @@ system_tests() ( ) if $is_cygwin; then - echo -e "=== Running ${green}integration tests ${yellow}with${green} symlinks${reset}" + # shellcheck disable=2059 + printf "=== Running ${green}integration tests ${yellow}with${green} symlinks${reset}\n" system_tests $cygwin_var=winsymlinks - echo -e "=== Running ${green}integration tests ${yellow}without${green} symlinks${reset}" + # shellcheck disable=2059 + printf "=== Running ${green}integration tests ${yellow}without${green} symlinks${reset}\n" system_tests $cygwin_var=winsymlinks else - echo -e "=== Running ${green}integration tests${reset}" + # shellcheck disable=2059 + printf "=== Running ${green}integration tests${reset}\n" system_tests fi