Ver código fonte

Changed static version numbers in patch commands to entities

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 anos atrás
pai
commit
c67bd1eed6

+ 1 - 1
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 

+ 2 - 1
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>

+ 1 - 1
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>