scripts: better handling of printf: stdout/stderr

in some cases, messages that should be considered errors
or warnings, were being written to the standard output,
rather than written as error messages.

also: one or two printf statements should specifically
avoid printing errors (to any file); in these cases,
stdout has been redirected to /dev/null

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-09 23:15:17 +01:00
parent b78009e28a
commit 84bf47b5b9
6 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ handle_defconfig()
config="${y}"
config_name="${config#$target_dir/config/}"
printf "build/defconfig/%s %s: handling config %s\n" \
printf "handle/make/config %s %s: handling config %s\n" \
"${project}" "${target}" "${config_name}"
[ "${mode}" != "all" ] || check_config || continue