]> git.ipfire.org Git - thirdparty/coreutils.git/commit
bootstrap: fix handling of various perl --version formats
authorPádraig Brady <P@draigBrady.com>
Mon, 30 Nov 2009 13:01:44 +0000 (14:01 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 30 Nov 2009 13:04:43 +0000 (14:04 +0100)
commitcb775df09e79fc8cb5608bbc4a2ca8b621a4f771
tree048f5398afb577ae243cff56b81b4c6a04ea4c05
parentb92e0455e1c70437a3c0553abc103727553fe238
bootstrap: fix handling of various perl --version formats

* bootstrap (get_version): Don't use perl's $] special
variable, as that requires updating all bootstrap.conf files to
use perl's x.yyyzzz version format.  Instead make the regular
expression more general to support version formats from older
perl-5.005_002 (5.5.2) and perl-5.11 which has other numbers
in the version line.
bootstrap