Преглед изворни кода

Restore the sed command in check

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11696 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Douglas R. Reno пре 5 година
родитељ
комит
edd71fb63e
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      chapter06/check.xml

+ 3 - 1
chapter06/check.xml

@@ -58,7 +58,9 @@
 
     <para>Install the package and fix a script:</para>
 
-    <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install</userinput></screen>
+    <screen><userinput remap="install">make docdir=/usr/share/doc/check-&check-version; install &amp;&amp;
+sed -i '1 s/tools/usr/' /usr/bin/checkmk</userinput></screen>
+<!-- Removes a hardcoded call to /tools/bin/gawk at line 1 of checkmk. -->
 
   </sect2>