bootstrap: fix typo in previous attempt
authorEric Blake <eblake@redhat.com>
Fri, 12 Nov 2010 21:40:54 +0000 (14:40 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 12 Nov 2010 21:40:54 +0000 (14:40 -0700)
* build-aux/bootstrap (buildreq): Correct the grouping.
Reported by Paul Eggert.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
build-aux/bootstrap

index 21677e2..f085a3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-11-12  Eric Blake  <eblake@redhat.com>
 
+       bootstrap: fix typo in previous attempt
+       * build-aux/bootstrap (buildreq): Correct the grouping.
+       Reported by Paul Eggert.
+
        maintainer-makefile: prohibit test x == x
        * top/maint.mk (sc_prohibit_test_double_equal): New rule.
        Based on a report by Matthias Bolte.
index 5278e8e..6c311c3 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2010-11-12.20; # UTC
+scriptversion=2010-11-12.21; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -349,7 +349,7 @@ get_version() {
           t done
 
           # extract version at start of line
-          s/^\([0-9]\{1,\}\(\.[.a-z0-9-]*\)\)*.*/\1/
+          s/^\([0-9]\{1,\}\(\.[.a-z0-9-]*\)*\).*/\1/
           t done
 
           d