From e4487709ac27d80179c2a685b91ed023ca178021 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 23 Mar 2021 13:14:12 -0500 Subject: Clean up chapter6 scripts. --- chapter6/bash.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'chapter6/bash.sh') diff --git a/chapter6/bash.sh b/chapter6/bash.sh index 83a7a89..ae7bb34 100644 --- a/chapter6/bash.sh +++ b/chapter6/bash.sh @@ -1,8 +1,10 @@ +#!/bin/bash + ./configure --prefix=/usr \ - --build=$(support/config.guess) \ - --host=${LFS_TGT} \ + --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 +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