aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lfs.sh')
-rwxr-xr-xlfs.sh22
1 files changed, 12 insertions, 10 deletions
diff --git a/lfs.sh b/lfs.sh
index c61f7ee..62c2198 100755
--- a/lfs.sh
+++ b/lfs.sh
@@ -71,16 +71,16 @@ fi
# Create limited directory layout
if [[ ! -f "${LFS}"/sources/limited ]]; then
-+ mkdir -p "${LFS}"/sources
-+ mkdir -p "${LFS}"/tools
-+ mkdir -p "${LFS}"/bin
-+ mkdir -p "${LFS}"/etc
-+ mkdir -p "${LFS}"/lib
-+ mkdir -p "${LFS}"/sbin
-+ mkdir -p "${LFS}"/usr
-+ mkdir -p "${LFS}"/var
-+ touch "${LFS}"/sources/limited
-+fi
+ mkdir -p "${LFS}"/sources
+ mkdir -p "${LFS}"/tools
+ mkdir -p "${LFS}"/bin
+ mkdir -p "${LFS}"/etc
+ mkdir -p "${LFS}"/lib
+ mkdir -p "${LFS}"/sbin
+ mkdir -p "${LFS}"/usr
+ mkdir -p "${LFS}"/var
+ touch "${LFS}"/sources/limited
+fi
case $(uname -m) in
x86_64) mkdir -p "${LFS}"/lib64 ;;
@@ -174,7 +174,9 @@ if [[ "$retval" -eq 0 ]]; then
printf "%b" "\n${IWHT}======= ${IYLW}Chapter 7 ${IGRN}Cleanup and Backup \
${IWHT}=======${RST}\n"
+ # shellcheck source=chapter7/cleanup.sh
source "${LFS}"/sources/chapter7/cleanup.sh
+ # shellcheck source=chapter7/backup.sh
source "${LFS}"/sources/chapter7/backup.sh
else
exit "$retval"