summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-19 13:55:35 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-05-19 13:56:56 +0100
commit65742b61cb5255b102356ba5f8a132a8f1b23a14 (patch)
tree5796a8f3ac6cf0d4df1c7fd0a71edcf85d916aba
parent35bdab1cb97f0be0ebea7cc93b977759f51d976c (diff)
downloadhaskell-wip/T21598.tar.gz
validate: Use $make rather than makewip/T21598
In the validate script we are careful to use the $make variable as this stores whether we are using gmake, make, quiet mode etc. There was just this one place where we failed to use it. Fixes #21598
-rwxr-xr-xvalidate2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate b/validate
index bc7c9f1abe..e6a8d91563 100755
--- a/validate
+++ b/validate
@@ -294,7 +294,7 @@ if [ $build_only -eq 1 ] ||
$hadrian binary-dist --docs=no-sphinx
cfgdir="$(dirname "$(find $hadrian_build_root/bindist/ -name 'configure' | head -1)")"
cd "$cfgdir"
- ./configure --prefix="$basedir/$bindistdir" && make install
+ ./configure --prefix="$basedir/$bindistdir" && $make install
cd "$basedir"
"$ghc" -e 'Data.Text.IO.putStrLn (Data.Text.pack "bindist test: OK")'
fi