aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/fileutils-exp.xml4
-rw-r--r--chapter05/fileutils-inst.xml3
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml
index fdaa829fd..4203a5579 100644
--- a/chapter05/fileutils-exp.xml
+++ b/chapter05/fileutils-exp.xml
@@ -1,6 +1,10 @@
<sect2>
<title>Command explanations</title>
+<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup :</userinput> We
+run this command in order to keep a backup of the file we are about to
+change.</para>
+
<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;lib/Makefile.in &gt; tmp &amp;&amp;</userinput>
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 792ff1dc1..d1e09cad5 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -7,7 +7,8 @@ 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>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
+<screen><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;</userinput>
+<userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;lib/Makefile.in &gt; tmp &amp;&amp;</userinput>
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;tmp &gt; lib/Makefile.in</userinput></screen></para>