aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/fileutils-inst.xml2
-rw-r--r--chapter05/gzip-inst.xml3
-rw-r--r--chapter05/shellutils-inst.xml2
3 files changed, 4 insertions, 3 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 8f2f53948..8bddc3cad 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -6,7 +6,7 @@ Install Fileutils by running the following commands:
</para>
<blockquote><literallayout>
- <userinput>patch -Np1 -i ../fileutils-4.0.patch
+ <userinput>patch -Np1 -i ../fileutils-&fileutils-version;.patch
&amp;&amp;</userinput>
<userinput>./configure --disable-nls \</userinput>
<userinput>--prefix=$LFS/usr --libexecdir=$LFS/bin
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 5f09cbe84..1a5aba83b 100644
--- a/chapter05/gzip-inst.xml
+++ b/chapter05/gzip-inst.xml
@@ -6,7 +6,8 @@ Before Gzip is installed, the gzip patch file needs to be unpacked.
</para>
<blockquote><literallayout>
- <userinput>patch -Np1 -i ../gzip-1.2.4a.patch &amp;&amp;</userinput>
+ <userinput>patch -Np1 -i ../gzip-&gzip-version;.patch
+ &amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml
index b581e2318..618991830 100644
--- a/chapter05/shellutils-inst.xml
+++ b/chapter05/shellutils-inst.xml
@@ -6,7 +6,7 @@ Before Sh-utils is installed, the sh-utils patch file needs to be unpacked.
</para>
<blockquote><literallayout>
- <userinput>patch -Np1 -i ../sh-utils-2.0.patch
+ <userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>