summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
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