From 2d7505db2262a275b9dbf0d020afd6bed2fbd753 Mon Sep 17 00:00:00 2001
From: William Harrington <kb0iic@berzerkula.org>
Date: Tue, 1 Jun 2021 16:03:26 -0500
Subject: Use LFS environment variable instead of hard coded /mnt/lfs.

---
 chapter6/file.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chapter6/file.sh b/chapter6/file.sh
index 2992f65..9b2ab19 100644
--- a/chapter6/file.sh
+++ b/chapter6/file.sh
@@ -18,4 +18,4 @@ make FILE_COMPILE="$(pwd)"/build/src/file &&
 make DESTDIR="${LFS}" -j1 install &&
 
 mv -v "${LFS}"/usr/lib/libmagic.so.* "${LFS}"/lib &&
-ln -sfv ../../lib/"$(readlink /mnt/lfs/usr/lib/libmagic.so)" "${LFS}"/usr/lib/libmagic.so
+ln -sfv ../../lib/"$(readlink "${LFS}"/usr/lib/libmagic.so)" "${LFS}"/usr/lib/libmagic.so
-- 
cgit v1.2.3-54-g00ecf