From d4c8cfe38ef10ce0249a93a2c6a701f995bc3451 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 15 Aug 2019 21:10:26 +0000 Subject: Fix gcc version in rm instruction git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter06/gcc.xml') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 83c9560bd..d08fd45d1 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -155,7 +155,7 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check" Install the package and remove an unneeded directory: make install -rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/ +rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/ The GCC build directory is owned by nobody now and the ownership of the installed header -- cgit v1.2.3-54-g00ecf