[lfs] branch trunk updated: glibc: Reuse DIR in upgrade instruction and unset it afterwards

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <174798717127.6586.14826311144853033861@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 722ec5bf9 glibc: Reuse DIR in upgrade instruction and unset it afterwards
722ec5bf9 is described below

commit 722ec5bf97178aa805a281c7b055c44ac3248a09
Author: Xi Ruoyao <[email protected]>
AuthorDate: Fri May 23 15:58:21 2025 +0800

    glibc: Reuse DIR in upgrade instruction and unset it afterwards
---
 chapter08/glibc.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index a7ce1190a..bcb275177 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -329,7 +329,8 @@ install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen>
       <screen role='nodump'><userinput>DIR=$(dirname $(gcc -print-libgcc-file-name))
 [ -e $DIR/include/limits.h ] || mv $DIR/include{-fixed,}/limits.h
 [ -e $DIR/include/syslimits.h ] || mv $DIR/include{-fixed,}/syslimits.h
-rm -rfv $(dirname $(gcc -print-libgcc-file-name))/include-fixed/*</userinput></screen>
+rm -rfv $DIR/include-fixed/*
+unset DIR</userinput></screen>
     </important>
 
     <para>Install the package:</para>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.