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/bash.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'chapter8/bash.sh') diff --git a/chapter8/bash.sh b/chapter8/bash.sh index 6bbd448..81d91c1 100644 --- a/chapter8/bash.sh +++ b/chapter8/bash.sh @@ -1,19 +1,19 @@ #!/bin/bash -set -e +# shellcheck disable=SC2016 -patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch -# shellcheck disable=SC2016 -sed -i '/^bashline.o:.*shmbchar.h/a bashline.o: ${DEFDIR}/builtext.h' Makefile.in +patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch && + +sed -i '/^bashline.o:.*shmbchar.h/a bashline.o: ${DEFDIR}/builtext.h' Makefile.in && ./configure --prefix=/usr \ --docdir=/usr/share/doc/bash-"${VERSION}" \ --without-bash-malloc \ - --with-installed-readline + --with-installed-readline && -make +make && -make -j1 install +make -j1 install && mv -vf /usr/bin/bash /bin #exec /bin/bash --login +h -- cgit v1.2.3-54-g00ecf