From 887bf450c01c511a3f6d048d3db78e8edfb21e8a Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 23 Mar 2021 13:14:22 -0500 Subject: Cleanup chapter5 scripts. --- chapter5/binutils.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'chapter5/binutils.sh') diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh index c77a576..2d9da5b 100644 --- a/chapter5/binutils.sh +++ b/chapter5/binutils.sh @@ -1,9 +1,11 @@ +#!/bin/bash + mkdir build -cd build +cd build || exit 1 -../configure --prefix=${LFS}/tools \ - --with-sysroot=${LFS} \ - --target=${LFS_TGT} \ +../configure --prefix="${LFS}"/tools \ + --with-sysroot="${LFS}" \ + --target="${LFS_TGT}" \ --disable-nls \ --disable-werror && make && -- cgit v1.2.3-54-g00ecf