Permalink
Browse files

bugfix: allow the syntax "hackport merge foo/bar"

This will make the package "bar" be part of category "foo".
  • Loading branch information...
1 parent 8bf1f28 commit 2d91ca9f45c2023039937bbb8b4c925d6e61c056 @kolmodin kolmodin committed May 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Merge.hs
View
@@ -185,7 +185,7 @@ merge verbosity repo serverURI args overlayPath = do
let cabal_pkgId = packageInfoId selectedPkg
norm_pkgId = Portage.normalizeCabalPackageId cabal_pkgId
norm_pkgName = packageName norm_pkgId
- cat <- Portage.resolveCategory verbosity overlay norm_pkgName
+ cat <- maybe (Portage.resolveCategory verbosity overlay norm_pkgName) return m_category
let pkgGenericDesc = packageDescription selectedPkg
Right (pkgDesc0, flags) =

0 comments on commit 2d91ca9

Please sign in to comment.