diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-12-13 14:04:29 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-12-13 14:04:29 +0100 |
commit | af8a0d797d79fac53e2fe92c4974a9cdce5f4ad8 (patch) | |
tree | 4a4c99b434b2ea7cba6aa8045076d9230d3225e9 /lib/missing | |
parent | bbf39a2a6c9c09642349b6cf222fc2d42013ae3d (diff) | |
download | automake-af8a0d797d79fac53e2fe92c4974a9cdce5f4ad8.tar.gz |
Fix nonportable sed script in 'missing'.
* lib/missing: In sed script, do not use ';' after 't' commands.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/missing')
-rwxr-xr-x | lib/missing | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/missing b/lib/missing index 4758c826c..32e23d236 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 <bug-automake@gnu.org>." 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 |