aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/m4.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:14:12 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:14:12 -0500
commite4487709ac27d80179c2a685b91ed023ca178021 (patch)
tree4f3ab10c3035da1820015f07a4b56dd4d8b02731 /chapter6/m4.sh
parentb65d40a58e83236504939be82747671d3c2c0599 (diff)
Clean up chapter6 scripts.
Diffstat (limited to 'chapter6/m4.sh')
-rw-r--r--chapter6/m4.sh8
1 files changed, 5 insertions, 3 deletions
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