Opened 21 years ago

Closed 21 years ago

#830 closed defect (invalid)

Chapter 6, Gzip: typo on sed command

Reported by: lizardo@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: 5.1pre2
Severity: normal Keywords:
Cc:

Description

Posted by Daniel Ignat: It seems to me that there is an error in ch6, in the gzip compiling instructions: it says to change the hardwired location of the gzip binary to /bin, with a 'sed' command. I think that the part: %"BINDIR"% in the sed command should be just %"BINDIR% (without the second " quotes) because the original file gzexe.in has this text: "BINDIR:$PATH" which should be changed to "/bin:$PATH" as I suppose.. so, the second quotes will never match that pattern.

Change History (1)

comment:1 by jim@…, 21 years ago

Resolution: invalid
Status: newclosed

The sed is correct the actual line that gets change in gzexe.in is at line 121.

if tail +$skip "$0" | "BINDIR"/gzip -cd > /tmp/gztmp$$;

Closing as invalid.

Note: See TracTickets for help on using tickets.