From: simonmar Date: Mon, 21 Feb 2005 10:13:00 +0000 (+0000) Subject: [project @ 2005-02-21 10:13:00 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1046 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=6d3e69ee52296ea135330e802a81a997bc70d01a [project @ 2005-02-21 10:13:00 by simonmar] For some reason rev. 1.71 undid rev. 1.70. Restore it. --- diff --git a/ghc/utils/ghc-pkg/Main.hs b/ghc/utils/ghc-pkg/Main.hs index 34c9dfe..1c97030 100644 --- a/ghc/utils/ghc-pkg/Main.hs +++ b/ghc/utils/ghc-pkg/Main.hs @@ -423,7 +423,7 @@ findPackages db_stack pkgid -- multiple packages. So eg. "Cabal-*" matches all Cabal packages, -- but "Cabal" matches just one Cabal package - if there are more, -- you get an error. - ps | pkgVersion pkgid == globVersion + ps | versionTags (pkgVersion pkgid) == versionTags globVersion -> return ps | otherwise -> die ("package " ++ showPackageId pkgid ++