diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 08:42:10 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 08:42:10 -0500 |
commit | d0d1fa49bc271a3288af4fc94e5099fdb3aab9e8 (patch) | |
tree | 3e0acae925db69176c39a2c3861d6179cdcc176f | |
parent | 4bfc125f8b0dd7eb2f634305c06ad0354afbed2b (diff) |
Use AND lists.
-rw-r--r-- | chapter10/linux.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chapter10/linux.sh b/chapter10/linux.sh index d443dc8..8baea23 100644 --- a/chapter10/linux.sh +++ b/chapter10/linux.sh @@ -1,14 +1,14 @@ #!/bin/bash set -e -make mrproper -cp -v ../kernelconfig .config -yes "" | make oldconfig -make "${MAKEFLAGS}" -make modules_install -cp -iv arch/x86_64/boot/bzImage /boot/linux-"${VERSION}" -cp -iv System.map /boot/System.map-"${VERSION}" -cp -iv .config /boot/config-"${VERSION}" +make mrproper && +cp -v ../kernelconfig .config && +yes "" | make oldconfig && +make "${MAKEFLAGS}" && +make modules_install && +cp -iv arch/x86_64/boot/bzImage /boot/linux-"${VERSION}" && +cp -iv System.map /boot/System.map-"${VERSION}" && +cp -iv .config /boot/config-"${VERSION}" && -install -dv /usr/share/doc/linux-"${VERSION}" -cp -rv Documentation/* /usr/share/doc/linux-"${VERSION}" +install -dv /usr/share/doc/linux-"${VERSION}" && +cp -rv Documentation/* /usr/share/doc/linux-"${VRSION}" |