aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-28 20:50:57 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-28 20:50:57 +0000
commit3acb38f277fdbb662207fccb9d7ec312e5c26ed2 (patch)
treeddf571d973079d7c5244d00ef65292fd7cf98811 /chapter05
parent1e7335edfdae5bfeea8b3c1b567d0bd3d22acfa5 (diff)
Removed all -f flags from cp commands
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1092 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/fileutils-exp.xml2
-rw-r--r--chapter05/fileutils-inst.xml2
-rw-r--r--chapter05/gzip-inst.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml
index 8f77ba49c..2a117d4e4 100644
--- a/chapter05/fileutils-exp.xml
+++ b/chapter05/fileutils-exp.xml
@@ -5,7 +5,7 @@
run this command in order to keep a backup of the file we are about to
change.</para>
-<para><screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
+<para><screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;lib/Makefile.in &gt; lib/Makefile.in~ &amp;&amp;</userinput>
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 2dca914a6..39b07067d 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -7,7 +7,7 @@ limited to, Linux systems that run Glibc-2.2.3 with an AMD CPU (Athlons
and Durons are the most reported used CPU's). If you are in this category,
run the following to sed commands before you compile this package.
-<screen><userinput>cp -f lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
+<screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
<userinput>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;lib/Makefile.in &gt; lib/Makefile.in~ &amp;&amp;</userinput>
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 478d68caa..20f227158 100644
--- a/chapter05/gzip-inst.xml
+++ b/chapter05/gzip-inst.xml
@@ -8,7 +8,7 @@ unpacked.</para>
<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
-<userinput>cp -f $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &amp;&amp;</userinput>
+<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &amp;&amp;</userinput>
<userinput>rm -f $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput></screen></para>
</sect2>