summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-01-07 16:06:02 +1300
committerGary V. Vaughan <gary@gnu.org>2014-01-07 16:06:02 +1300
commit754721442a645b599113f53bae5ed76d804de5bd (patch)
tree7a149c85a32da39c01633d1a65e51eadbe421eb9
parent5e5cf7a7d67a1af4752bf442a42a5a77dccacd3e (diff)
downloadlibtool-754721442a645b599113f53bae5ed76d804de5bd.tar.gz
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>
-rwxr-xr-xbootstrap4
-rw-r--r--gl/build-aux/options-parser4
2 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index 4ca10e45..db312556 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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
/\./!{
diff --git a/gl/build-aux/options-parser b/gl/build-aux/options-parser
index 25a25eb5..41302a8a 100644
--- a/gl/build-aux/options-parser
+++ b/gl/build-aux/options-parser
@@ -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
/\./!{