From 8a0329abf52a401096a6c5ae95e02538502945c4 Mon Sep 17 00:00:00 2001 From: qrczak Date: Sat, 7 Apr 2001 22:30:01 +0000 Subject: [PATCH] [project @ 2001-04-07 22:30:01 by qrczak] Append final newline to package.conf. --- ghc/utils/ghc-pkg/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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." -- 1.7.10.4