aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/linux-api-headers.sh
diff options
context:
space:
mode:
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