diff options
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 |