Author: bdubbs Date: Thu Aug 15 14:10:26 2019 New Revision: 11659 Log: Fix gcc version in rm instruction
Modified: trunk/BOOK/chapter06/gcc.xml Modified: trunk/BOOK/chapter06/gcc.xml ============================================================================== --- trunk/BOOK/chapter06/gcc.xml Thu Aug 15 11:05:23 2019 (r11658) +++ trunk/BOOK/chapter06/gcc.xml Thu Aug 15 14:10:26 2019 (r11659) @@ -155,7 +155,7 @@ <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 -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page