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/m4.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'chapter6/m4.sh') diff --git a/chapter6/m4.sh b/chapter6/m4.sh index 04ffbcc..2f67ebe 100644 --- a/chapter6/m4.sh +++ b/chapter6/m4.sh @@ -1,3 +1,5 @@ +#!/bin/bash + sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c && echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h && @@ -6,7 +8,7 @@ export CFLAGS="-Wabi=11 -fpermissive" sed '/^HELP2MAN/s/$/ --no-discard-stderr/' -i doc/Makefile.in ./configure --prefix=/usr \ - --host=${LFS_TGT} \ - --build=$(build-aux/config.guess) && + --host="${LFS_TGT}" \ + --build="$(build-aux/config.guess)" && make && -make DESTDIR=${LFS} -j1 install +make DESTDIR="${LFS}" -j1 install -- cgit v1.2.3-54-g00ecf