From e4487709ac27d80179c2a685b91ed023ca178021 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 23 Mar 2021 13:14:12 -0500 Subject: Clean up chapter6 scripts. --- chapter6/binutils.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'chapter6/binutils.sh') diff --git a/chapter6/binutils.sh b/chapter6/binutils.sh index 5411f57..9b97c4b 100644 --- a/chapter6/binutils.sh +++ b/chapter6/binutils.sh @@ -1,14 +1,16 @@ +#!/bin/bash + mkdir -v build -cd build +cd build || exit 1 ../configure \ --prefix=/usr \ - --build=$(../config.guess) \ - --host=${LFS_TGT} \ + --build="$(../config.guess)" \ + --host="${LFS_TGT}" \ --disable-nls \ --enable-shared \ --disable-werror \ --enable-64-bit-bfd && make && -make DESTDIR=${LFS} -j1 install && -install -vm755 libctf/.libs/libctf.so.0.0.0 ${LFS}/usr/lib +make DESTDIR="${LFS}" -j1 install && +install -vm755 libctf/.libs/libctf.so.0.0.0 "${LFS}"/usr/lib -- cgit v1.2.3-54-g00ecf