From 30f6923a834ccaca30c3622a0a82421fabcab119 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 5 May 2021 13:11:33 -0400 Subject: hadrian: Don't depend upon bash from PATH Previously Hadrian depended implicitly upon whatever `bash` it found in `PATH`, offerring no way for the user to override. Fix this by detecting `sh` in `configure` and passing the result to Hadrian. Fixes #19797. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5582c9fb2f..e3763055ec 100644 --- a/configure.ac +++ b/configure.ac @@ -255,6 +255,8 @@ AC_CANONICAL_TARGET FPTOOLS_SET_PLATFORM_VARS +FP_PROG_SH + # Verify that the installed (bootstrap) GHC is capable of generating # code for the requested build platform. if test "$BuildPlatform" != "$bootstrap_target" -- cgit v1.2.1