diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:14:12 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:14:12 -0500 |
commit | e4487709ac27d80179c2a685b91ed023ca178021 (patch) | |
tree | 4f3ab10c3035da1820015f07a4b56dd4d8b02731 /chapter6/bash.sh | |
parent | b65d40a58e83236504939be82747671d3c2c0599 (diff) |
Clean up chapter6 scripts.
Diffstat (limited to 'chapter6/bash.sh')
-rw-r--r-- | chapter6/bash.sh | 12 |
1 files changed, 7 insertions, 5 deletions
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 |