From aca2b28f6b06a3308e52bbe5165b86562fbfd160 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 7 Apr 2021 12:42:46 -0500 Subject: Fix quotes around . --- chapter6/file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter6/file.sh b/chapter6/file.sh index bc2cd38..4f1f294 100644 --- a/chapter6/file.sh +++ b/chapter6/file.sh @@ -16,5 +16,5 @@ popd > /dev/null || exit 1 make FILE_COMPILE="$(pwd)"/build/src/file && make DESTDIR="${LFS}" -j1 install -mv -v "${LFS}"/usr/lib/libmagic.so.* $LFS/lib +mv -v "${LFS}"/usr/lib/libmagic.so.* "${LFS}"/lib ln -sfv ../../lib/"$(readlink /usr/lib/libmagic.so)" "${LFS}"/usr/lib/libmagic.so -- cgit v1.2.3-54-g00ecf From 6fe469522a3213e5b005e6f21b6bd34a71e064b3 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 7 Apr 2021 12:43:06 -0500 Subject: Change ownership of chapter7 backup. --- chapter7/backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/chapter7/backup.sh b/chapter7/backup.sh index 7745551..9442566 100644 --- a/chapter7/backup.sh +++ b/chapter7/backup.sh @@ -16,6 +16,7 @@ else printf "%b" "${IRED}FAILED!${RST}\n" exit "${retval}" else + sudo chown -v "${USER}" "${HOME}"/"${file}" >"${LFS}"/sources/log/chapter7/backup.log 2>&1 printf "%b" "${IGRN}OK${RST}\n" fi popd > /dev/null || exit 1 -- cgit v1.2.3-54-g00ecf