From 729c26f70ea89232ba7c0f2d8e4cb8116d6ca051 Mon Sep 17 00:00:00 2001 From: Mikael Vidstedt Date: Tue, 21 Feb 2023 21:00:38 +0000 Subject: [PATCH] 8303020: Remove carriage return in pandoc version string Reviewed-by: iris, lancea, erikj --- make/autoconf/basic_tools.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/autoconf/basic_tools.m4 b/make/autoconf/basic_tools.m4 index c5889eadc4d..b1f58961dfb 100644 --- a/make/autoconf/basic_tools.m4 +++ b/make/autoconf/basic_tools.m4 @@ -434,7 +434,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC], if test "x$PANDOC" != x; then AC_MSG_CHECKING([for pandoc version]) - PANDOC_VERSION=`$PANDOC --version 2>&1 | $HEAD -1 | $CUT -d " " -f 2` + PANDOC_VERSION=`$PANDOC --version 2>&1 | $TR -d '\r' | $HEAD -1 | $CUT -d " " -f 2` AC_MSG_RESULT([$PANDOC_VERSION]) if test "x$PANDOC_VERSION" != x$RECOMMENDED_PANDOC_VERSION; then