From 3da09fc4dbf0cf606485bef3a50d0e2264e1bc1c Mon Sep 17 00:00:00 2001
From: William Harrington <kb0iic@berzerkula.org>
Date: Thu, 18 Mar 2021 12:10:31 -0500
Subject: Add braces to LFS variable.

---
 chapter5/binutils.sh  | 6 +++---
 chapter5/libstdc++.sh | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'chapter5')

diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
index 870d34a..68da871 100644
--- a/chapter5/binutils.sh
+++ b/chapter5/binutils.sh
@@ -3,9 +3,9 @@
 mkdir build
 cd build
 
-../configure --prefix=$LFS/tools \
-             --with-sysroot=$LFS \
-             --target=$LFS_TGT \
+../configure --prefix=${LFS}/tools \
+             --with-sysroot=${LFS} \
+             --target=${LFS_TGT} \
              --disable-nls \
              --disable-werror &&
 make &&
diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh
index 958bfa6..73380a8 100644
--- a/chapter5/libstdc++.sh
+++ b/chapter5/libstdc++.sh
@@ -10,7 +10,7 @@ cd build
     --disable-multilib \
     --disable-nls \
     --disable-libstdcxx-pch \
-    --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/${VERSION} &&
+    --with-gxx-include-dir=/tools/${LFS_TGT}/include/c++/${VERSION} &&
 
 make &&
 make -j1 DESTDIR=${LFS} install
\ No newline at end of file
-- 
cgit v1.2.3-54-g00ecf