[project @ 2001-06-27 15:03:35 by sewardj]
[ghc-hetmet.git] / 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