[Bug 898] New: error in sed command in ch6 util-linux

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sun Sep 12 02:57:42 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=898

           Summary: error in sed command in ch6 util-linux
           Product: Linux From Scratch
           Version: TESTING
          Platform: PC
               URL: http://linuxfromscratch.org/pipermail/lfs-dev/2004-
                    September/048748.html
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: ryan.oliver at pha.com.au
         QAContact: lfs-book at linuxfromscratch.org


As per OP

Appears to be an extra "'" in the sed command for altering the CFLAGS so
-fno-unit-at-a-time is specified.

Book states

sed -i -e 's%^include ../MCONFIG%'\
'&\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile

Should be

sed -i -e 's%^include ../MCONFIG%\&\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' \
fdisk/Makefile

Bug report courtesy of BlackAura via IRC



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list