diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-03 00:05:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-03 00:05:21 +0000 |
commit | 186368070c9cdd94bce27758ebadb699bc440c2f (patch) | |
tree | e3e812342e2b58eedaa2a70c0bdfd8f1c7e26fe9 /Build/source/texk/web2c/configure | |
parent | e282e1aa535d65add175b7c0f719e49ee5eb1a79 (diff) |
use echo|grep instead of risking nested quotes
git-svn-id: svn://tug.org/texlive/trunk@13589 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-x | Build/source/texk/web2c/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index 36bc3c4167e..e51d94938f1 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -17727,7 +17727,7 @@ fi case $with_tex_banner in ''|yes|no) with_tex_banner="Web2C $WEB2CVERSION" ;; - *) if test -z `echo "$with_tex_banner" | sed -n "/ $WEB2CVERSION/p"`; then + *) if echo "$with_tex_banner" | grep -v "$WEB2CVERSION" >/dev/null; then { { $as_echo "$as_me:$LINENO: error: Bad \`--with-tex-banner=$with_tex_banner' version string (must contain \` $WEB2CVERSION')" >&5 $as_echo "$as_me: error: Bad \`--with-tex-banner=$with_tex_banner' version string (must contain \` $WEB2CVERSION')" >&2;} { (exit 1); exit 1; }; } |