mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 19:59:20 +01:00
fixed sed command (removed necessary newline)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
e30bc19d79
commit
56c46bdd54
@ -1,15 +1,10 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of File</title>
|
<title>Installation of File</title>
|
||||||
|
|
||||||
<para>Note that the sed used in this installation only works if the line
|
|
||||||
break is placed exactly where it below. Don't try and put it
|
|
||||||
all on one line otherwise it won't work.</para>
|
|
||||||
|
|
||||||
<para>Install File by running the following commands:</para>
|
<para>Install File by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cp readelf.h readelf.h.backup &&</userinput>
|
<para><screen><userinput>cp readelf.h readelf.h.backup &&</userinput>
|
||||||
<userinput>sed '/#define __/a \</userinput>
|
<userinput>sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h &&</userinput>
|
||||||
<userinput> #include <stdint.h>' readelf.h.backup > readelf.h &&</userinput>
|
|
||||||
<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput>
|
<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput>
|
||||||
<userinput>make &&</userinput>
|
<userinput>make &&</userinput>
|
||||||
<userinput>make install</userinput></screen></para>
|
<userinput>make install</userinput></screen></para>
|
||||||
|
Loading…
Reference in New Issue
Block a user