[project @ 2001-06-27 15:03:35 by sewardj]
authorsewardj <unknown>
Wed, 27 Jun 2001 15:03:35 +0000 (15:03 +0000)
committersewardj <unknown>
Wed, 27 Jun 2001 15:03:35 +0000 (15:03 +0000)
wibble to do with findOnPackagePath

ghc/compiler/main/Finder.lhs

index 7dc2985..2322db9 100644 (file)
@@ -176,7 +176,7 @@ findOnPackagePath pkgs file = loop pkgs
     found <- findOnPath (import_dirs p) file
     case found of
        Nothing   -> loop ps
-       Just path -> return (Just (mkFastString (name p), path ++ '/':file))
+       Just path -> return (Just (mkFastString (name p), path))
 
 findOnPath :: [String] -> String -> IO (Maybe FilePath)
 findOnPath path s = loop path