From 2c8204d6325a1a6607392d5905227b9043da17cc Mon Sep 17 00:00:00 2001 From: William Harrington Date: Sat, 11 Dec 2021 00:52:08 -0600 Subject: Major updates. --- chapter6/bash.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'chapter6/bash.sh') diff --git a/chapter6/bash.sh b/chapter6/bash.sh index 9251a89..1c53aad 100644 --- a/chapter6/bash.sh +++ b/chapter6/bash.sh @@ -1,12 +1,12 @@ -#!/bin/bash -set -e - -patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch && -./configure --prefix=/usr \ - --build="$(support/config.guess)" \ - --host="${LFS_TGT}" \ - --without-bash-malloc && -make && -make DESTDIR="${LFS}" -j1 install && -mv "${LFS}"/usr/bin/bash "${LFS}"/bin/bash && -ln -sv bash "${LFS}"/bin/sh +#!/bin/bash +set -e + +patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch && +./configure --prefix=/usr \ + --build="$(support/config.guess)" \ + --host="${LFS_TGT}" \ + --without-bash-malloc && +make && +make DESTDIR="${LFS}" -j1 install && +mv "${LFS}"/usr/bin/bash "${LFS}"/bin/bash && +ln -sv bash "${LFS}"/bin/sh -- cgit v1.2.3-54-g00ecf