summaryrefslogtreecommitdiff
path: root/compiler/main/SysTools.hs
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2015-10-03 18:37:29 +0200
committerBen Gamari <ben@smart-cactus.org>2015-10-03 18:37:30 +0200
commitc4d7df04aa8b7270759f4c39dceadfd26339b6a6 (patch)
treea4ceb170f239e446fdd3cf36a5ea7934b6963dde /compiler/main/SysTools.hs
parentb6f76b9aaca49df0fb06d8bad2f7edc5b5b8c095 (diff)
downloadhaskell-c4d7df04aa8b7270759f4c39dceadfd26339b6a6.tar.gz
Fix broken validation Build 6564 and accepting a few other test results
Test Plan: ./validate Reviewers: thomie, austin, bgamari Reviewed By: bgamari Subscribers: #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D1304
Diffstat (limited to 'compiler/main/SysTools.hs')
-rw-r--r--compiler/main/SysTools.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs
index 1efb67acc2..77dbceae98 100644
--- a/compiler/main/SysTools.hs
+++ b/compiler/main/SysTools.hs
@@ -1328,7 +1328,7 @@ handleProc pgm phase_name proc = do
case rc of
ExitSuccess{} -> return r
ExitFailure n -> throwGhcExceptionIO (
- ProgramError ("`" ++ pgm ++ "'" ++
+ ProgramError ("`" ++ takeBaseName pgm ++ "'" ++
" failed in phase `" ++ phase_name ++ "'." ++
" (Exit code: " ++ show n ++ ")"))
where