Refactor ./hadrian/ghci.sh for better error messages
authorMatthew Pickering <matthewtpickering@gmail.com>
Wed, 20 Mar 2019 14:12:53 +0000 (14:12 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Mon, 25 Mar 2019 18:02:27 +0000 (14:02 -0400)
commit8e07368faf5090a5ac803f0e4fa3a5a2a4aba05c
tree138de8fe28fedc0c6e6ec7e0de0cf20b64f71e84
parent200d65ef41efda8ff2b524f7a15c14620d6a57b9
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.
hadrian/ghci.sh