From d6de6e3bc5bc4d5f3c8799df33d876116bddef14 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 14 Apr 2021 16:37:15 -0500 Subject: Use AND lists and remove set -e --- chapter8/kmod.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'chapter8/kmod.sh') diff --git a/chapter8/kmod.sh b/chapter8/kmod.sh index 010f7cb..3435179 100644 --- a/chapter8/kmod.sh +++ b/chapter8/kmod.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -e ./configure --prefix=/usr \ --bindir=/bin \ @@ -7,11 +6,11 @@ set -e --with-rootlibdir=/lib \ --with-xz \ --with-zstd \ - --with-zlib + --with-zlib && -make +make && -make -j1 install +make -j1 install && for target in depmod insmod lsmod modinfo modprobe rmmod; do ln -sfv ../bin/kmod /sbin/"${target}" -- cgit v1.2.3-54-g00ecf