aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-08 19:01:31 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-08 19:01:31 -0500
commit7e786ff5f1eeebe0b07da0980227797ec7bb245a (patch)
tree0081ec75387a5422c1ebda12d22d8f9da593c8af /lfs.sh
parentab42e4c660a6f25bae5a5388bc140953a87a3248 (diff)
Remove +'s and add shellcheck directives.
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"