aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter5/glibc.sh2
-rw-r--r--chapter6/xz.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter5/glibc.sh b/chapter5/glibc.sh
index 37dbd2b..8997613 100644
--- a/chapter5/glibc.sh
+++ b/chapter5/glibc.sh
@@ -8,7 +8,7 @@ case $(uname -m) in
;;
esac
-patch -Np1 -i ../glibc-2.33-fhs-1.patch &&
+patch -Np1 -i ../glibc-"${VERSION}"-fhs-1.patch &&
mkdir -v build
cd build || exit 1
diff --git a/chapter6/xz.sh b/chapter6/xz.sh
index 12a43ce..6766de1 100644
--- a/chapter6/xz.sh
+++ b/chapter6/xz.sh
@@ -4,7 +4,7 @@
--host="${LFS_TGT}" \
--build="$(build-aux/config.guess)" \
--disable-static \
- --docdir=/usr/share/doc/xz-5.2.5 &&
+ --docdir=/usr/share/doc/xz-"${VERSION}" &&
make &&
make DESTDIR="${LFS}" -j1 install
mv -v "${LFS}"/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} "${LFS}"/bin &&