diff options
author | Jim Meyering <jim@meyering.net> | 2006-01-31 16:05:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-01-31 16:05:23 +0000 |
commit | 07fcda028e38acf97318577bf92e8bb59969dd25 (patch) | |
tree | 0ac7405f57f5cf9626f438b00ac6b4c78046032b /build-aux/missing | |
parent | 6fa9bd80b99382b671b29b5bc55bbbc9a53923ad (diff) | |
download | coreutils-07fcda028e38acf97318577bf92e8bb59969dd25.tar.xz |
Update from gnulib.
Diffstat (limited to 'build-aux/missing')
-rw-r--r-- | build-aux/missing | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/build-aux/missing b/build-aux/missing index 894e786e1..c82c8b56d 100644 --- 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 |