projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
88841e6
)
[project @ 2005-02-15 16:41:25 by simonmar]
author
simonmar
<unknown>
Tue, 15 Feb 2005 16:41:25 +0000
(16:41 +0000)
committer
simonmar
<unknown>
Tue, 15 Feb 2005 16:41:25 +0000
(16:41 +0000)
Fix test in findPackages
ghc/utils/ghc-pkg/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/utils/ghc-pkg/Main.hs
b/ghc/utils/ghc-pkg/Main.hs
index
a68497e
..
0fb8ffa
100644
(file)
--- 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 ++