aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/iproute2.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
commitd6de6e3bc5bc4d5f3c8799df33d876116bddef14 (patch)
tree3ada7dd247cdc9fa1f6085d06a36e1b542f4e0b8 /chapter8/iproute2.sh
parente5cb063449df5491af4861744b80c6ea40e7cac3 (diff)
Use AND lists and remove set -e
Diffstat (limited to 'chapter8/iproute2.sh')
-rw-r--r--chapter8/iproute2.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter8/iproute2.sh b/chapter8/iproute2.sh
index 4ac6a65..8034496 100644
--- a/chapter8/iproute2.sh
+++ b/chapter8/iproute2.sh
@@ -1,11 +1,10 @@
#!/bin/bash
-set -e
-sed -i /ARPD/d Makefile
-rm -fv man/man8/arpd.8
+sed -i /ARPD/d Makefile &&
+rm -fv man/man8/arpd.8 &&
-sed -i 's/.m_ipt.o//' tc/Makefile
+sed -i 's/.m_ipt.o//' tc/Makefile &&
-make
+make &&
make DOCDIR=/usr/share/doc/iproute2-"${VERSION}" -j1 install