diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:52:08 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:52:08 -0600 |
commit | 2c8204d6325a1a6607392d5905227b9043da17cc (patch) | |
tree | 5a2d9047d0a3fb5664c17284b92c6e572507d062 /chapter6/m4.sh | |
parent | f699702e72de8200632cfb95350ad51bb68c4b6f (diff) |
Major updates.
Diffstat (limited to 'chapter6/m4.sh')
-rw-r--r-- | chapter6/m4.sh | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/chapter6/m4.sh b/chapter6/m4.sh index aeb1024..05855ab 100644 --- a/chapter6/m4.sh +++ b/chapter6/m4.sh @@ -1,15 +1,15 @@ -#!/bin/bash -set -e - -sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c && -echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h && - -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)" && -make && -make DESTDIR="${LFS}" -j1 install +#!/bin/bash
+set -e
+
+sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c &&
+echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h &&
+
+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)" &&
+make &&
+make DESTDIR="${LFS}" -j1 install
|