Refactor ./hadrian/ghci.sh for better error messages

Authored by mpickering on Mar 20 2019, 9:12 AM.

Description

Refactor ./hadrian/ghci.sh for better error messages

By separating these two lines, if the first command fails then ghci is
not loaded. Before it would still load ghci but display lots of errors
about not being able to find modules.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Mar 25 2019, 1:02 PM
Parents
rGHC200d65ef41ef: Check hadrian/ghci.sh script output to determine pass/fail
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC8e07368faf50: Refactor ./hadrian/ghci.sh for better error messages (authored by mpickering).Mar 25 2019, 1:02 PM