aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-02-10 15:56:45 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-02-10 15:56:45 +0000
commit5ca1b36bcbb8da4d203824e992f8fc4a7c4daf9a (patch)
treed2e4e8448b36fcbddeb6dfc66c15f7f65b67d6cc
parent9d12a8a4e9b2f87df072443ecb93b552e9ac519d (diff)
Added a sed command to chapter 6-gzip to change the hard-coded
/usr/bin/gzip path to /bin/gzip git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1554 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/gzip-inst.xml2
2 files changed, 6 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index d22180a65..272dcafd3 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -24,6 +24,10 @@
<itemizedlist>
+<listitem><para>February 10th, 2002 [gerard]: Chapter 6: Added a sed
+command to change gzexe's hardcoded /usr/bin/gzip path and change it to
+/bin/gzip.</para></listitem>
+
<listitem><para>February 10th, 2002 [gerard]: Chapter 5 + 6: Moved
additional programs to the ($LFS)/bin directory that are used by the
bootscripts. No programs used by bootscripts (except daemons themselves)
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 95440fa7b..57fd9a457 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -4,6 +4,8 @@
<para>Install Gzip by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+cp gzexe.in gzexe.in.backup &amp;&amp;
+sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cd /usr/bin &amp;&amp;