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 --- chapter6/gcc.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chapter6/gcc.sh') diff --git a/chapter6/gcc.sh b/chapter6/gcc.sh index 7806d3a..d40a855 100644 --- a/chapter6/gcc.sh +++ b/chapter6/gcc.sh @@ -1,11 +1,10 @@ #!/bin/bash -set -e mkdir -p isl mpfr gmp mpc -tar -xf ../isl-*.tar.xz -C isl --strip-components=1 -tar -xf ../mpfr-*.tar.xz -C mpfr --strip-components=1 -tar -xf ../gmp-*.tar.xz -C gmp --strip-components=1 -tar -xf ../mpc-*.tar.gz -C mpc --strip-components=1 +tar -xf ../isl-*.tar.xz -C isl --strip-components=1 && +tar -xf ../mpfr-*.tar.xz -C mpfr --strip-components=1 && +tar -xf ../gmp-*.tar.xz -C gmp --strip-components=1 && +tar -xf ../mpc-*.tar.gz -C mpc --strip-components=1 && case $(uname -m) in x86_64) -- cgit v1.2.3-54-g00ecf