aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/linux-api-headers.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:17:02 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:17:02 -0500
commit66d4171655e0b93766c82f50ce06521f85b58222 (patch)
tree1b6d1cbcbc169e5cbb4e6ea6698ed91d82d7cc88 /chapter5/linux-api-headers.sh
parent9d68d5da4115353816ab4f6b1c7a4f5db43576f9 (diff)
parent887bf450c01c511a3f6d048d3db78e8edfb21e8a (diff)
Merge branch 'master' into chapter7
Diffstat (limited to 'chapter5/linux-api-headers.sh')
-rw-r--r--chapter5/linux-api-headers.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter5/linux-api-headers.sh b/chapter5/linux-api-headers.sh
index 3de6e81..3111625 100644
--- a/chapter5/linux-api-headers.sh
+++ b/chapter5/linux-api-headers.sh
@@ -1,5 +1,7 @@
+#!/bin/bash
+
make mrproper &&
make headers &&
find usr/include -name '.*' -delete &&
rm usr/include/Makefile &&
-cp -rv usr/include ${LFS}/usr
+cp -rv usr/include "${LFS}"/usr