From: panne Date: Thu, 29 Jun 2000 20:20:18 +0000 (+0000) Subject: [project @ 2000-06-29 20:20:18 by panne] X-Git-Tag: Approximately_9120_patches~4112 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=798f758b7034ad004a43c9012ba33b98bed2e309;p=ghc-hetmet.git [project @ 2000-06-29 20:20:18 by panne] Fixed buglet in search for ghc-usage.txt --- diff --git a/ghc/driver/Main.hs b/ghc/driver/Main.hs index 13ca445..415f0a6 100644 --- a/ghc/driver/Main.hs +++ b/ghc/driver/Main.hs @@ -61,8 +61,9 @@ short_usage = do exitWith ExitSuccess long_usage = do - let usage_dir = findFile "ghc-usage.txt" (cGHC_DRIVER_DIR++"/ghc-usage.txt") - usage <- readFile (usage_dir++"/ghc-usage.txt") + let usage_filename = "ghc-usage.txt" + usage_dir = findFile usage_filename cGHC_DRIVER_DIR + usage <- readFile (usage_dir ++ "/" ++ usage_filename) dump usage exitWith ExitSuccess where