aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/bash.sh
blob: ae7bb342bddf074e0879fea23748dc16d7b4091e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

./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