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

./configure --prefix=/usr --localstatedir=/var/lib/locate

make

make -j1 install

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