From 68588615e6a546bd7d5c9e5a6f0d91209217c799 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <xry111@xry111.site>
Date: Sun, 9 Oct 2022 13:30:58 +0800
Subject: [PATCH] temp bash: fix "support/config.guess: Permission denied"

In bash-5.2 tarball config.guess is not executable, so we need to run
the script with an explicit "sh".
---
 chapter06/bash.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index d462d2631..d00e685ca 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -45,9 +45,9 @@
 
     <para>Prepare Bash for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr                   \
-            --build=$(support/config.guess) \
-            --host=$LFS_TGT                 \
+<screen><userinput remap="configure">./configure --prefix=/usr                      \
+            --build=$(sh support/config.guess) \
+            --host=$LFS_TGT                    \
             --without-bash-malloc</userinput></screen>
 
     <variablelist>