]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
options-parser: --version works with 'DO NOT EDIT' preamble again.
authorGary V. Vaughan <gary@gnu.org>
Tue, 7 Jan 2014 03:06:02 +0000 (16:06 +1300)
committerGary V. Vaughan <gary@gnu.org>
Tue, 7 Jan 2014 03:06:02 +0000 (16:06 +1300)
* 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>
bootstrap
gl/build-aux/options-parser

index 4ca10e452728d6dda8e00c28c5ae03a32e5723fc..db312556205024de7eefd325fa8d960600f39cd1 100755 (executable)
--- 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
         /\./!{
index 25a25eb52df5a2731c4941df09d0961a038bbff4..41302a8a515109874385bd295938a058408febfb 100644 (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
         /\./!{