Browse Source

Typo in sed

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9596 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 14 năm trước cách đây
mục cha
commit
103bbd63fe
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      chapter06/pkg-config.xml

+ 2 - 1
chapter06/pkg-config.xml

@@ -51,7 +51,8 @@
 
     <para>Fix a problem with one of Pkg-config's tests:</para>
 
-<screen><userinput remap="pre">sed -i -e '/!done/i/   longArg = NULL;' popt/popt.c</userinput></screen>
+<screen><userinput remap="pre">sed -i -e '/!done/a\
+        longArg = NULL;' popt/popt.c</userinput></screen>
 
     <para>Prepare Pkg-config for compilation:</para>