Changeset fcc84cc


Ignore:
Timestamp:
May 29, 2014, 12:48:56 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
7cb9b1d
Parents:
1916102
Message:

Replaced redirection operators with &gt;

Location:
BOOK
Files:
20 edited

Legend:

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

    r1916102 rfcc84cc  
    4848    <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
    4949
    50 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
     50<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
    5151    /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
    5252
  • BOOK/boot/common/shadow.xml

    r1916102 rfcc84cc  
    2929<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
    3030sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \
    31     src/Makefile.in.orig > src/Makefile.in</userinput></screen>
     31    src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
    3232
    3333    <para os="d">Prepare Shadow for compilation:</para>
  • BOOK/boot/mips/colo-build.xml

    r1916102 rfcc84cc  
    4040
    4141<screen os="s2"><userinput>cp -v stage2/Makefile{,.orig}
    42 sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig > stage2/Makefile</userinput></screen>
     42sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig &gt; stage2/Makefile</userinput></screen>
    4343
    4444    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/64/createfiles.xml

    r1916102 rfcc84cc  
    2121ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2222ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib
    23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
     23sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
    2424ln -sv bash /bin/sh
    2525ln -sv /run /var/run</userinput></screen>
  • BOOK/chroot/common/createfiles.xml

    r1916102 rfcc84cc  
    1919ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2020ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib
    21 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
     21sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
    2222ln -sv bash /bin/sh
    2323ln -sv /run /var/run</userinput></screen>
  • BOOK/chroot/mips64/createfiles.xml

    r1916102 rfcc84cc  
    2323ln -sv /tools/lib32/libstdc++.so{.6,} /usr/lib32
    2424ln -sv /tools/lib64/libstdc++.so{.6,} /usr/lib64
    25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
     25sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
    2626ln -sv bash /bin/sh
    2727ln -sv /run /var/run</userinput></screen>
  • BOOK/cross-tools/common/gcc-static.xml

    r1916102 rfcc84cc  
    5151<filename class="directory">/tools</filename>:</para>
    5252
    53 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
    54 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen>
     53<screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' &gt;&gt; gcc/config/linux.h
     54echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' &gt;&gt; gcc/config/linux.h</userinput></screen>
    5555
    5656    <para os="t1">We will create a dummy <filename>limits.h</filename> so
  • BOOK/cross-tools/ppc/gcc-static.xml

    r1916102 rfcc84cc  
    4848    xpointer="xpointer(//*[@os='ag'])"/>
    4949
    50 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h
    51 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen>
     50<screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' &gt;&gt; gcc/config/rs6000/sysv4.h
     51echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' &gt;&gt; gcc/config/rs6000/sysv4.h</userinput></screen>
    5252
    5353    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/common/coreutils.xml

    r1916102 rfcc84cc  
    6868    of it so that the tests are not skipped:</para>
    6969
    70 <screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen>
     70<screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
    7171
    7272    <para os="k">Fix permissions of some files so the non-root user can compile
  • BOOK/final-system/common/ncurses.xml

    r1916102 rfcc84cc  
    6868
    6969<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    70         echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
     70        echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
    7171        ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
    7272done
  • BOOK/final-system/common/tar.xml

    r1916102 rfcc84cc  
    4949    <para os="h">Generate the man page and place it in the proper location:</para>
    5050
    51 <screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen>
     51<screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
    5252
    5353    <para os="j">Install the documentation:</para>
  • BOOK/final-system/multilib/ncurses-64bit.xml

    r1916102 rfcc84cc  
    8686
    8787<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    88         echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so
     88        echo "INPUT(-l${lib}w)" &gt; /usr/lib64/lib${lib}.so
    8989        ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a
    9090done
  • BOOK/final-system/multilib/ncurses-n32.xml

    r1916102 rfcc84cc  
    8686
    8787<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    88         echo "INPUT(-l${lib}w)" > /usr/lib32/lib${lib}.so
     88        echo "INPUT(-l${lib}w)" &gt; /usr/lib32/lib${lib}.so
    8989        ln -sfv lib${lib}w.a /usr/lib32/lib${lib}.a
    9090done
  • BOOK/final-system/multilib/ncurses.xml

    r1916102 rfcc84cc  
    8787
    8888<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    89         echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
     89        echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
    9090        ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
    9191done
  • BOOK/final-system/multilib/perl-64bit.xml

    r1916102 rfcc84cc  
    4747    <para os="m2">We still need to tell Perl to actually use <filename class="directory">lib64</filename>:</para>
    4848
    49 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen>
     49<screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' &gt;&gt; hints/linux.sh</userinput></screen>
    5050
    5151    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/perl-n32.xml

    r1916102 rfcc84cc  
    4848    <para os="m2">We still need to tell perl to actually use lib32:</para>
    4949
    50 <screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
     50<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' &gt;&gt; hints/linux.sh</userinput></screen>
    5151
    5252    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/prologue/common/hostreqs.xml

    r1916102 rfcc84cc  
    134134makeinfo --version | head -n1
    135135xz --version | head -n1
    136 echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&amp;1
     136echo 'main(){}' | gcc -v -o /dev/null -x c - &gt; dummy.log 2>&amp;1
    137137if ! grep -q ' error' dummy.log; then
    138138  echo "Compilation successful" &amp;&amp; rm dummy.log
  • BOOK/temp-system/common/bison.xml

    r1916102 rfcc84cc  
    2626
    2727<screen os='s2'><userinput>cp -v Makefile.in{,.orig}
    28 sed '/bison.help:/s/^/# /' Makefile.in.orig > Makefile.in</userinput></screen>
     28sed '/bison.help:/s/^/# /' Makefile.in.orig &gt; Makefile.in</userinput></screen>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/temp-system/common/gcc.xml

    r1916102 rfcc84cc  
    9797<screen os="s2"><userinput>cp -v Makefile{,.orig}
    9898sed "/^HOST_\(GMP\|ISL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \
    99     Makefile.orig > Makefile</userinput></screen>
     99    Makefile.orig &gt; Makefile</userinput></screen>
    100100
    101101    <para os="cm">Compile the package:</para>
  • BOOK/the-end/downloadclient.xml

    r1916102 rfcc84cc  
    5858  NetService = "/inet/tcp/0/mirror.anl.gov/80"
    5959  print "GET /pub/gnu/wget/wget-1.14.tar.xz" |&amp; NetService
    60   while ((NetService |&amp; getline) > 0)
     60  while ((NetService |&amp; getline) &gt; 0)
    6161    print $0
    6262  close(NetService)
    63 }' > binary
     63}' &gt; binary
    6464
    6565gawk '{q=p;p=$0}NR&gt;1{print q}END{ORS = ""; print p}' binary &gt; wget-1.14.tar.xz
Note: See TracChangeset for help on using the changeset viewer.