Checkdoc script pipes to stderr in build environment

This commit is contained in:
Justin Abrahms 2021-08-13 15:11:53 +00:00
parent 7897f8eb84
commit eb66b35ad4

View File

@ -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