Commit d1f0e6ab authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-15 16:41:25 by simonmar]

Fix test in findPackages
parent 88841e64
...@@ -423,7 +423,7 @@ findPackages db_stack pkgid ...@@ -423,7 +423,7 @@ findPackages db_stack pkgid
-- multiple packages. So eg. "Cabal-*" matches all Cabal packages, -- multiple packages. So eg. "Cabal-*" matches all Cabal packages,
-- but "Cabal" matches just one Cabal package - if there are more, -- but "Cabal" matches just one Cabal package - if there are more,
-- you get an error. -- you get an error.
ps | pkgVersion pkgid == globVersion ps | versionTags (pkgVersion pkgid) == versionTags globVersion
-> return ps -> return ps
| otherwise | otherwise
-> die ("package " ++ showPackageId pkgid ++ -> die ("package " ++ showPackageId pkgid ++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment