From: Ralf Wildenhues Date: Sat, 13 Dec 2008 13:04:29 +0000 (+0100) Subject: Fix nonportable sed script in 'missing'. X-Git-Tag: v1.10b~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af8a0d797d79fac53e2fe92c4974a9cdce5f4ad8;p=platform%2Fupstream%2Fautomake.git Fix nonportable sed script in 'missing'. * lib/missing: In sed script, do not use ';' after 't' commands. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index f0a7fd5..a2fb490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-13 Ralf Wildenhues + + Fix nonportable sed script in 'missing'. + * lib/missing: In sed script, do not use ';' after 't' commands. + 2008-12-07 Ralf Wildenhues PR automake/531: diff --git a/lib/missing b/lib/missing index 4758c82..32e23d2 100755 --- a/lib/missing +++ b/lib/missing @@ -1,7 +1,7 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2008-11-24.07 +scriptversion=2008-12-13.14 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008 Free Software Foundation, Inc. @@ -108,7 +108,10 @@ Send bug reports to ." esac # normalize program name to check for. -program=`echo "$1" | sed 's/^gnu-//; t; s/^gnu//; t; s/^g//; t'` +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect