aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gzip.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-05-12 18:48:16 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-05-12 18:48:16 +0000
commit26b1701ea34878445084c047cd8232008d132454 (patch)
treeef4bf20b54ff64fb22b1d6f7a7578354d400e6ff /chapter06/gzip.xml
parent1ba42076b0ccf4c68a511f5de988d2eae4c2fa98 (diff)
Shortened the sed used on gzexe.in
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gzip.xml')
-rw-r--r--chapter06/gzip.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 6294e6906..3b609ac7d 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -32,8 +32,7 @@ GCC, Glibc, Grep, Make, Sed.</para>
the location of the binary, the following command ensures that the new
location gets placed into the script:</para>
-<screen><userinput>cp gzexe.in{,.backup}
-sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen>
+<screen><userinput>sed -i 's%"BINDIR"%/bin%' gzexe.in</userinput></screen>
<para>Compile the package:</para>