aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/findutils.sh
blob: a1a097ec575bcfd7b6d51a07174b4c21e9fb5826 (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