mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
options-parser: --version works with 'DO NOT EDIT' preamble again.
* gl/build-aux/options-parser (func_version): Don't quit on first leading '##' line, otherwise DO NOT edit warnings prevent version information from being extracted correctly. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
parent
5e5cf7a7d6
commit
754721442a
@ -1536,7 +1536,7 @@ func_lt_ver ()
|
||||
#! /bin/sh
|
||||
|
||||
# Set a version string for this script.
|
||||
scriptversion=2014-01-04.01; # UTC
|
||||
scriptversion=2014-01-07.03; # UTC
|
||||
|
||||
# A portable, pluggable option parser for Bourne shell.
|
||||
# Written by Gary V. Vaughan, 2010
|
||||
@ -2109,7 +2109,7 @@ func_version ()
|
||||
$debug_cmd
|
||||
|
||||
printf '%s\n' "$progname $scriptversion"
|
||||
$SED -n '/^##/q
|
||||
$SED -n '
|
||||
/(C)/!b go
|
||||
:more
|
||||
/\./!{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Set a version string for this script.
|
||||
scriptversion=2014-01-04.01; # UTC
|
||||
scriptversion=2014-01-07.03; # UTC
|
||||
|
||||
# A portable, pluggable option parser for Bourne shell.
|
||||
# Written by Gary V. Vaughan, 2010
|
||||
@ -574,7 +574,7 @@ func_version ()
|
||||
$debug_cmd
|
||||
|
||||
printf '%s\n' "$progname $scriptversion"
|
||||
$SED -n '/^##/q
|
||||
$SED -n '
|
||||
/(C)/!b go
|
||||
:more
|
||||
/\./!{
|
||||
|
Loading…
Reference in New Issue
Block a user