diff options
author | mkanat%bugzilla.org <> | 2006-07-19 06:08:15 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-07-19 06:08:15 +0200 |
commit | aa205508ed3bc52b02cde76286daaec40aebfa5c (patch) | |
tree | 319e1dff561dd2b3df3e913a6b0a1f22cc9a95ec | |
parent | 47a9a892e8fe70863846c00a5858fceffc79b3d0 (diff) | |
download | bugzilla-aa205508ed3bc52b02cde76286daaec40aebfa5c.tar.gz bugzilla-aa205508ed3bc52b02cde76286daaec40aebfa5c.tar.xz |
Bug 344915: Non-installed modules are reported incorrectly
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=LpSolit, a=justdave
-rw-r--r-- | Bugzilla/Install/Requirements.pm | 4 |
1 files 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); |