From eb66b35ad4873bb9881ba5a34c1acb54cc5d0a32 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Fri, 13 Aug 2021 15:11:53 +0000 Subject: [PATCH] Checkdoc script pipes to stderr in build environment --- test/checkdoc-batch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/checkdoc-batch.sh b/test/checkdoc-batch.sh index 35e2c6e..afbeee6 100755 --- a/test/checkdoc-batch.sh +++ b/test/checkdoc-batch.sh @@ -81,7 +81,7 @@ fi echo "Running checkdoc.." -error_lines=`emacs -batch $user $args -l $lispfile -f checkdoc-batch-commandline "$@" | tee /dev/stderr | wc -l` +error_lines=`emacs -batch $user $args -l $lispfile -f checkdoc-batch-commandline "$@" | tee >(cat 1>&2) | wc -l` if [ $error_lines -gt 1 ]; then echo $OUTPUT