diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 16:37:15 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 16:37:15 -0500 |
commit | d6de6e3bc5bc4d5f3c8799df33d876116bddef14 (patch) | |
tree | 3ada7dd247cdc9fa1f6085d06a36e1b542f4e0b8 /chapter8/bash.sh | |
parent | e5cb063449df5491af4861744b80c6ea40e7cac3 (diff) |
Use AND lists and remove set -e
Diffstat (limited to 'chapter8/bash.sh')
-rw-r--r-- | chapter8/bash.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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 |