summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2020-11-14 13:43:09 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-20 02:10:31 -0500
commitfc963932018ccf5445613ec0932d726b51887769 (patch)
treefc449cc9d78ea1cd107d58e1481658e6b299b39b /validate
parent3a55b3a2574f913d046f3a6f82db48d7f6df32e3 (diff)
downloadhaskell-fc963932018ccf5445613ec0932d726b51887769.tar.gz
Find hadrian location more reliably in cabal-install output
Fix #18944
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate b/validate
index a302781db4..cea04091ae 100755
--- a/validate
+++ b/validate
@@ -165,7 +165,7 @@ else
then
hadrian/build --help > /dev/null
cd hadrian
- hadrian_cmd=$(cabal new-exec -- which hadrian)
+ hadrian_cmd=$(cabal new-exec -- which hadrian | grep 'hadrian$')
else
if [ $no_clean -eq 0 ]; then
rm -rf hadrian/.stack-work