From aa205508ed3bc52b02cde76286daaec40aebfa5c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 19 Jul 2006 04:08:15 +0000 Subject: Bug 344915: Non-installed modules are reported incorrectly Patch By Max Kanat-Alexander r=colin, r=LpSolit, a=justdave --- Bugzilla/Install/Requirements.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index e8f27c503..11eaa4447 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -152,8 +152,8 @@ sub vers_cmp { my ($a, $b) = @_; # Remove leading zeroes - Bug 344661 - $a =~ s/^0*(.*)/$1/; - $b =~ s/^0*(.*)/$1/; + $a =~ s/^0*(\d.+)/$1/; + $b =~ s/^0*(\d.+)/$1/; my @A = ($a =~ /([-.]|\d+|[^-.\d]+)/g); my @B = ($b =~ /([-.]|\d+|[^-.\d]+)/g); -- cgit v1.2.3-24-g4f1b