aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2006-09-09 17:17:18 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2006-09-09 17:17:18 +0000
commit5e66a56483c855080e97473d8726688a401649ff (patch)
tree2477ec712654fe3ee601a3a93bef544f67e3ae59 /chapter06
parente539e17d818d17078937f4523646de82fedb76e1 (diff)
Fix non-POSIX syntax in gzexe's calls to tail. Fixes #1876.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7787 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gzip.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 9cb4b8437..4782bcce6 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -40,6 +40,13 @@
<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
+ <para>The <command>gzexe</command> command calls <command>tail</command>
+ with options that do not conform to newer versions of the POSIX standard,
+ and therefore are not accepted by current versions of Coreutils. Fix this
+ problem by issuing the following command:</para>
+
+<screen><userinput>sed -i 's/tail +/tail -n +/' gzexe.in</userinput></screen>
+
<para>Prepare Gzip for compilation:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>