diff --git a/test/checkdoc-batch.sh b/test/checkdoc-batch.sh index afbeee6..cda3621 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 >(cat 1>&2) | wc -l` +error_lines=`emacs -Q -batch $user $args -l $lispfile -f checkdoc-batch-commandline "$@" | tee /dev/fd/2 | wc -l` if [ $error_lines -gt 1 ]; then echo $OUTPUT