From 186368070c9cdd94bce27758ebadb699bc440c2f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 3 Jun 2009 00:05:21 +0000 Subject: use echo|grep instead of risking nested quotes git-svn-id: svn://tug.org/texlive/trunk@13589 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build/source/texk/web2c/configure.ac') diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac index 1bb30f4d901..af1db20d367 100644 --- a/Build/source/texk/web2c/configure.ac +++ b/Build/source/texk/web2c/configure.ac @@ -45,7 +45,7 @@ m4_include([ac/web2c.ac]) AS_CASE([$with_tex_banner], [''|yes|no], [with_tex_banner="Web2C $WEB2CVERSION"], - [AS_IF([test -z `echo "$with_tex_banner" | sed -n "/ $WEB2CVERSION/p"`], + [AS_IF([echo "$with_tex_banner" | grep -v "$WEB2CVERSION" >/dev/null], [AC_MSG_ERROR([Bad `--with-tex-banner=$with_tex_banner' version string (must contain ` $WEB2CVERSION')])])]) AC_DEFINE_UNQUOTED([WEB2CVERSION], [" ($with_tex_banner)"]) -- cgit v1.2.3