aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/binutils.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
commitd6de6e3bc5bc4d5f3c8799df33d876116bddef14 (patch)
tree3ada7dd247cdc9fa1f6085d06a36e1b542f4e0b8 /chapter8/binutils.sh
parente5cb063449df5491af4861744b80c6ea40e7cac3 (diff)
Use AND lists and remove set -e
Diffstat (limited to 'chapter8/binutils.sh')
-rw-r--r--chapter8/binutils.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter8/binutils.sh b/chapter8/binutils.sh
index 4236b80..e3fe6c5 100644
--- a/chapter8/binutils.sh
+++ b/chapter8/binutils.sh
@@ -1,9 +1,8 @@
#!/bin/bash
-set -e
expect -c "spawn ls"
-sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
+sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in &&
mkdir -v build
cd build || exit 1
@@ -15,10 +14,10 @@ cd build || exit 1
--enable-shared \
--disable-werror \
--enable-64-bit-bfd \
- --with-system-zlib
+ --with-system-zlib &&
-make tooldir=/usr
+make tooldir=/usr &&
-make tooldir=/usr -j1 install
+make tooldir=/usr -j1 install &&
rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a