Sfoglia il codice sorgente

Fix gcc version in rm instruction

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 6 anni fa
parent
commit
d4c8cfe38e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      chapter06/gcc.xml

+ 1 - 1
chapter06/gcc.xml

@@ -155,7 +155,7 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
     <para>Install the package and remove an unneeded directory:</para>
 
 <screen><userinput remap="install">make install
-rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen>
+rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
 
     <para>The GCC build directory is owned by <systemitem class="username">
     nobody</systemitem> now and the ownership of the installed header