packages feed

cabal-dir 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+2/−1 lines, 2 files

Files

cabal-dir.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                cabal-dir-version:             0.1.0.0+version:             0.1.0.1 stability:           Experimental synopsis:            show dist dir of 'cabal copy/install' description:         
cabal-dir.hs view
@@ -69,6 +69,7 @@ printRPInstallDirs p = putStr . showRPInstallDirs p  removePrefix :: FilePath -> FilePath -> String+removePrefix "" s = s removePrefix p s 	| p `isPrefixOf` s = dropWhile (== '/') $ drop (length p) s 	| otherwise = s