From: qrczak Date: Sat, 7 Apr 2001 22:30:01 +0000 (+0000) Subject: [project @ 2001-04-07 22:30:01 by qrczak] X-Git-Tag: Approximately_9120_patches~2179 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8a0329abf52a401096a6c5ae95e02538502945c4;p=ghc-hetmet.git [project @ 2001-04-07 22:30:01 by qrczak] Append final newline to package.conf. --- diff --git a/ghc/utils/ghc-pkg/Main.hs b/ghc/utils/ghc-pkg/Main.hs index 139ce87..310d810 100644 --- a/ghc/utils/ghc-pkg/Main.hs +++ b/ghc/utils/ghc-pkg/Main.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: Main.hs,v 1.8 2001/03/27 14:10:34 simonmar Exp $ +-- $Id: Main.hs,v 1.9 2001/04/07 22:30:01 qrczak Exp $ -- -- Package management tool ----------------------------------------------------------------------------- @@ -146,7 +146,7 @@ writeNewConfig :: String -> [PackageConfig] -> IO () writeNewConfig conf_file details = do hPutStr stdout "Writing new package config file... " h <- openFile conf_file WriteMode - hPutStr h (dumpPackages details ) + hPutStrLn h (dumpPackages details) hClose h hPutStrLn stdout "done."