From 45714a7d3b3c0851d598d966a2ce9790e177c6e1 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 23 Aug 2001 22:38:49 +0000 Subject: [Bug 127] Clean up ln, mv and cp commands git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1011 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-exp.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chapter06/glibc-exp.xml') diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index dfb3bae3c..d49215c64 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -21,7 +21,7 @@ file tmp~. This is done because Glibc can't autodetect perl since it's not installed yet at the time when we install Glibc. -mv tmp~ ../glibc-&glibc-version;/malloc/Makefile: The file +mv -f tmp~ ../glibc-&glibc-version;/malloc/Makefile: The file tmp~ is now moved back to ../glibc-&glibc-version;/malloc/Makefile. We do this because when using sed, we can't write straight back to this file so we need to @@ -35,7 +35,7 @@ because as we don't have glibc on the LFS system yet, usernames can't be resolved to their user id's. Therefore, we replace the username root with the id 0. -mv tmp~ ../glibc-&glibc-version;/login/Makefile: Asabove, we are using a temporary file (tmp~) to store the +mv -f tmp~ ../glibc-&glibc-version;/login/Makefile: Asabove, we are using a temporary file (tmp~) to store the edited Makefile and then copying it back over the original. --enable-add-ons: This enables the add-on that @@ -52,7 +52,7 @@ test program to determine this, so it automatically defaults to a cross-compiler. The reason for the failed program is because Glibc hasn't been installed yet. -mv config.make~ config.make: Again, we are moving +mv -f config.make~ config.make: Again, we are moving the temporary file over the original. -- cgit v1.2.3-54-g00ecf