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:
Gary V. Vaughan 2014-01-07 16:06:02 +13:00
parent 5e5cf7a7d6
commit 754721442a
2 changed files with 4 additions and 4 deletions

View File

@ -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
/\./!{

View File

@ -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
/\./!{