Commit d14c46d3 authored by simonpj's avatar simonpj

[project @ 2001-03-05 12:18:21 by simonpj]

Make error message more helpful
parent e71eb9f0
{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.57 2001/02/28 11:44:39 simonpj Exp $
-- $Id: Main.hs,v 1.58 2001/03/05 12:18:21 simonpj Exp $
--
-- GHC Driver program
--
......@@ -139,7 +139,7 @@ main =
else do am_inplace <- doesFileExist inplace_pkgconfig
if am_inplace
then writeIORef v_Path_package_config inplace_pkgconfig
else throwDyn (OtherError "can't find package.conf")
else throwDyn (OtherError ("Can't find package.conf in " ++ inplace_pkgconfig))
-- set the location of our various files
if am_installed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment