Ignore:
Timestamp:
Nov 12, 2012, 1:25:42 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3d8b4f6
Parents:
5759332
Message:

Do not use sed -i in temp-system as the host cannot be guaranteed to have GNU sed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/shadow.xml

    r5759332 r01672b8  
    2424
    2525    <para os="b">Disable the installation of the <command>groups</command>
    26     program and its man pages, as Coreutils provides a better version:</para>
     26    program, as Coreutils provides a better version:</para>
    2727
    28 <screen os="c"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in
    29 find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \;
    30 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
     28<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
     29sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3130
    3231    <para os="t1">The following cache entries set the values for tests that do
Note: See TracChangeset for help on using the changeset viewer.