From fbaa9dbb0994d71e801e9fba8236887923aa0cf8 Mon Sep 17 00:00:00 2001 From: Antonio Nikishaev Date: Thu, 17 Jan 2019 10:16:19 +0400 Subject: Fix a particular sed invocation in otp_build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise sed cannot process `lib/common_test/test_server/configure.in` when run under UTF-8 locale. That file uses m4’s changequote(«, »)`, in latin-1. --- otp_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp_build b/otp_build index 175c5fbcfe..376ea630b5 100755 --- a/otp_build +++ b/otp_build @@ -317,7 +317,7 @@ do_autoconf () echo "=== running autoconf in $d" ( cd "$d" && autoconf ) || exit 1 - chdr=`cat "$file" | sed -n "s|.*\(AC_CONFIG_HEADER\).*|\1|p"` + chdr=`cat "$file" | LC_CTYPE=C sed -n "s|.*\(AC_CONFIG_HEADER\).*|\1|p"` [ "$chdr" = "AC_CONFIG_HEADER" ] || continue echo "=== running autoheader in $d" ( cd "$d" && autoheader ) || exit 1 -- cgit v1.2.3