Ignore:
Timestamp:
Dec 21, 2008, 5:53:19 PM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3344456
Parents:
39b740b
Message:

Modify temp-system sed commands to work with more versions of sed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/gzip.xml

    r39b740b r259d5d2  
    2727    xpointer="xpointer(//*[@os='s1'])"/>
    2828
    29     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    30     href="../../final-system/common/gzip.xml"
    31     xpointer="xpointer(//*[@os='s2'])"/>
     29<screen os="s2"><userinput>for file in $(grep -lr futimens *); do
     30  cp -v ${file}{,.orig}
     31  sed -e "s/futimens/gl_&amp;/" ${file}.orig > ${file}
     32done</userinput></screen>
    3233
    3334    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.