diff options
author | Martin Roth <martinroth@google.com> | 2016-03-02 13:19:07 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-03-05 15:40:31 +0100 |
commit | b1bca88a049bab525828c549bd7097cca7b5f80f (patch) | |
tree | ece5ad8f772e3f23b31f1bfbbb78bc3e74d4e4ae /util/lint/lint-stable-008-kconfig | |
parent | bc839fba3d4fd44d3d7b2dcfafc32bccf2af9c94 (diff) | |
download | coreboot-b1bca88a049bab525828c549bd7097cca7b5f80f.tar.xz |
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 <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13877
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/lint/lint-stable-008-kconfig')
-rwxr-xr-x | util/lint/lint-stable-008-kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
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 |