Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
d1f0e6ab
Commit
d1f0e6ab
authored
Feb 15, 2005
by
simonmar
Browse files
[project @ 2005-02-15 16:41:25 by simonmar]
Fix test in findPackages
parent
88841e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/ghc-pkg/Main.hs
View file @
d1f0e6ab
...
...
@@ -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
++
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment