aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/cleanup.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 17:20:59 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 17:20:59 -0500
commit16505439f834f2f5f901866378a4b56ac8c3733c (patch)
treedec2d060bdfbfb04ed105381e7c05eff5adef420 /chapter6/cleanup.sh
parent7bcb4c0a9cc4cbc92ce904860f4d022f9775db65 (diff)
Fix some issues with backup file location and use /home/kb0iic variable and use -T in front of NUMPROCS for XZ_OPTS.
Diffstat (limited to 'chapter6/cleanup.sh')
-rw-r--r--chapter6/cleanup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter6/cleanup.sh b/chapter6/cleanup.sh
index abe4b0a..8d31264 100644
--- a/chapter6/cleanup.sh
+++ b/chapter6/cleanup.sh
@@ -9,9 +9,9 @@ else
find "${LFS}"/usr/lib -name \*.la -delete >/dev/null 2>&1
find "${LFS}"/usr/libexec -name \*.la -delete >/dev/null 2>&1
- rm -rf /usr/share/doc >/dev/null 2>&1
- rm -rf /usr/share/info >/dev/null 2>&1
- rm -rf /usr/share/man >/dev/null 2>&1
+ rm -rf "${LFS}"/usr/share/doc >/dev/null 2>&1
+ rm -rf "${LFS}"/usr/share/info >/dev/null 2>&1
+ rm -rf "${LFS}"/usr/share/man >/dev/null 2>&1
strip --strip-debug "${LFS}"S/usr/lib/* >/dev/null 2>&1
strip --strip-unneeded "${LFS}"/usr/bin/* >/dev/null 2>&1