Commit fc963932 authored by Greg Steuck's avatar Greg Steuck Committed by Marge Bot

Find hadrian location more reliably in cabal-install output

Fix #18944
parent 3a55b3a2
Pipeline #27661 canceled with stages
......@@ -165,7 +165,7 @@ else
hadrian/build --help > /dev/null
cd hadrian
hadrian_cmd=$(cabal new-exec -- which hadrian)
hadrian_cmd=$(cabal new-exec -- which hadrian | grep 'hadrian$')
if [ $no_clean -eq 0 ]; then
rm -rf hadrian/.stack-work
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment