Commit ea717aa4 authored by Committed by Marge Bot
Factorize mungePackagePaths code
This patch factorizes the duplicated code used in ghc-pkg and in GHC to munge package paths/urls. It also fixes haddock-html munging in GHC (allowed to be either a file or a url) to mimic ghc-pkg behavior.
Showing with 80 additions and 87 deletions