aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/findutils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/findutils.sh')
-rw-r--r--chapter8/findutils.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter8/findutils.sh b/chapter8/findutils.sh
index 8f6f583..255591c 100644
--- a/chapter8/findutils.sh
+++ b/chapter8/findutils.sh
@@ -1,12 +1,12 @@
#!/bin/bash
-set -e
+# shellcheck disable=SC2016
-./configure --prefix=/usr --localstatedir=/var/lib/locate
+./configure --prefix=/usr --localstatedir=/var/lib/locate &&
-make
+make &&
-make -j1 install
+make -j1 install &&
+
+mv -v /usr/bin/find /bin &&
-mv -v /usr/bin/find /bin
-# shellcheck disable=SC2016
sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb