diff options
author | Gary V. Vaughan <gary@gnu.org> | 2014-01-07 16:06:02 +1300 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-01-07 16:06:02 +1300 |
commit | 754721442a645b599113f53bae5ed76d804de5bd (patch) | |
tree | 7a149c85a32da39c01633d1a65e51eadbe421eb9 | |
parent | 5e5cf7a7d67a1af4752bf442a42a5a77dccacd3e (diff) | |
download | libtool-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-x | bootstrap | 4 | ||||
-rw-r--r-- | gl/build-aux/options-parser | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 /\./!{ |