aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/bash.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-19 22:51:55 +0000
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-19 22:51:55 +0000
commit2e2f8f359c865382cbc138e4572ab9a63d736775 (patch)
treef76a820e8f39d46926ad0e6a5dc8f478ae429615 /chapter8/bash.sh
parente4633200ea4609597950f991ce43f1a4d9f3cfbb (diff)
parent6b11f48c20f4411008c28ccb86463a98c0f06fef (diff)
Merge branch 'chapter10'
Diffstat (limited to 'chapter8/bash.sh')
-rw-r--r--chapter8/bash.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/chapter8/bash.sh b/chapter8/bash.sh
index 6bbd448..92402e5 100644
--- a/chapter8/bash.sh
+++ b/chapter8/bash.sh
@@ -1,19 +1,18 @@
#!/bin/bash
-set -e
+# shellcheck disable=SC2016
-patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch
+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
+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