浏览代码

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 年之前
父节点
当前提交
d4c8cfe38e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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