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

./configure --prefix=/usr \
            --host="${LFS_TGT}" \
            --build="$(build-aux/config.guess)" &&
make &&
make DESTDIR="${LFS}" -j1 install &&

mv -v "${LFS}"/usr/bin/find "${LFS}"/bin &&
sed -i 's|find:=${BINDIR}|find:=/bin|' "${LFS}"/usr/bin/updatedb