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/binutils.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chapter8/binutils.sh') 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 -- cgit v1.2.3-54-g00ecf