From: Gary V. Vaughan Date: Tue, 7 Jan 2014 03:06:02 +0000 (+1300) Subject: options-parser: --version works with 'DO NOT EDIT' preamble again. X-Git-Tag: v2.4.3~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=754721442a645b599113f53bae5ed76d804de5bd;p=thirdparty%2Flibtool.git 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 --- diff --git a/bootstrap b/bootstrap index 4ca10e452..db3125562 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 25a25eb52..41302a8a5 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 /\./!{