diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 14:09:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 14:09:32 +0000 |
commit | 12868c61858fc66f8c010a3d0186e053a4dfcb77 (patch) | |
tree | 6a34d441367df17af41d1e421c142a561a10f2ad /build-aux/missing | |
parent | bb65e8103fd222daf0ceefae97e7854bf451f9ea (diff) | |
download | gnulib-12868c61858fc66f8c010a3d0186e053a4dfcb77.tar.gz |
autoupdate
Diffstat (limited to 'build-aux/missing')
-rwxr-xr-x | build-aux/missing | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/build-aux/missing b/build-aux/missing index 894e786e16..c82c8b56d5 100755 --- a/build-aux/missing +++ b/build-aux/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-01-12.21 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. @@ -293,7 +293,12 @@ WARNING: \`$1' is $msg. You should only need it if if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi |