diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-08 19:01:31 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-08 19:01:31 -0500 |
commit | 7e786ff5f1eeebe0b07da0980227797ec7bb245a (patch) | |
tree | 0081ec75387a5422c1ebda12d22d8f9da593c8af /lfs.sh | |
parent | ab42e4c660a6f25bae5a5388bc140953a87a3248 (diff) |
Remove +'s and add shellcheck directives.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-x | lfs.sh | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -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" |