From b1bca88a049bab525828c549bd7097cca7b5f80f Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 2 Mar 2016 13:19:07 -0700 Subject: lint-kconfig: pipe stderr to stdout to catch script errors Because the perl error messages go to stderr, we were not catching these on the build server. If the script has an issue, we want to know immediately, so change the bash script that calls into the perl lint tool to pipe these to stdout. Change-Id: Ieeec9ccbd59177cfd1859a9738a4ee1fab803d28 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/13877 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/lint/lint-stable-008-kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/lint/lint-stable-008-kconfig') diff --git a/util/lint/lint-stable-008-kconfig b/util/lint/lint-stable-008-kconfig index 986fdc9742..06e41b8570 100755 --- a/util/lint/lint-stable-008-kconfig +++ b/util/lint/lint-stable-008-kconfig @@ -24,7 +24,7 @@ fi # If coreboot is in a git repo, use git grep to check as it will ignore any # files in the tree that aren't checked into git if [ -n "$(command -v git)" ] && [ -e ".git" ]; then - env perl util/lint/kconfig_lint --warnings_off + env perl util/lint/kconfig_lint --warnings_off 2>&1 else - env perl util/lint/kconfig_lint --no_git_grep --warnings_off + env perl util/lint/kconfig_lint --no_git_grep --warnings_off 2>&1 fi -- cgit v1.2.3