Changeset c63dde1


Ignore:
Timestamp:
Jan 31, 2009, 3:06:05 PM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
a9a7398
Parents:
9ad863d
Message:

Use CAT to replace echo's whenever possible

Location:
BOOK
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/mips64/flags.xml

    r9ad863d rc63dde1  
    1313  <para>We will need to copy our build variables into our new system:</para>
    1414
    15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    16 echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    17 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    18 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; \
    19     ${CLFS}/root/.bash_profile</userinput></screen>
     15<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     16export BUILD32="${BUILD32}"
     17export BUILDN32="${BUILDN32}"
     18export BUILD64="${BUILD64}"
     19export CLFS_TARGET32="${CLFS_TARGET32}"
     20EOF</userinput></screen>
    2021
    2122</sect1>
  • BOOK/boot/sparc64/flags.xml

    r9ad863d rc63dde1  
    1313  <para>We will need to copy our build variables into our new system:</para>
    1414
    15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    16 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; \
    18     ${CLFS}/root/.bash_profile</userinput></screen>
     15<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     16export BUILD32="${BUILD32}"
     17export BUILD64="${BUILD64}"
     18export CLFS_TARGET32="${CLFS_TARGET32}"
     19EOF</userinput></screen>
    1920
    2021</sect1>
  • BOOK/boot/x86_64/flags.xml

    r9ad863d rc63dde1  
    1313  <para>We will need to copy our build variables into our new system:</para>
    1414
    15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    16 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile
    17 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; \
    18     ${CLFS}/root/.bash_profile</userinput></screen>
     15<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     16export BUILD32="${BUILD32}"
     17export BUILD64="${BUILD64}"
     18export CLFS_TARGET32="${CLFS_TARGET32}"
     19EOF</userinput></screen>
    1920
    2021</sect1>
  • BOOK/chroot/mips64/flags.xml

    r9ad863d rc63dde1  
    2525   variables to prevent any build issues in the future:</para>
    2626
    27 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    28 echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bash_profile
    29 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    30 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     27<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     28export BUILD32="${BUILD32}"
     29export BUILDN32="${BUILDN32}"
     30export BUILD64="${BUILD64}"
     31export CLFS_TARGET32="${CLFS_TARGET32}"
     32EOF</userinput></screen>
    3133
    3234</sect1>
  • BOOK/chroot/ppc64/flags.xml

    r9ad863d rc63dde1  
    2424   variables to prevent any build issues in the future:</para>
    2525
    26 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    27 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     26<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     27export BUILD32="${BUILD32}"
     28export BUILD64="${BUILD64}"
     29export CLFS_TARGET32="${CLFS_TARGET32}"
     30EOF</userinput></screen>
    2931
    3032</sect1>
  • BOOK/chroot/sparc64/flags.xml

    r9ad863d rc63dde1  
    2424   variables to prevent any build issues in the future:</para>
    2525
    26 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    27 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     26<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     27export BUILD32="${BUILD32}"
     28export BUILD64="${BUILD64}"
     29export CLFS_TARGET32="${CLFS_TARGET32}"
     30EOF</userinput></screen>
    2931
    3032   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/chroot/x86_64/flags.xml

    r9ad863d rc63dde1  
    2424   variables to prevent any build issues in the future:</para>
    2525
    26 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    27 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     26<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
     27export BUILD32="${BUILD32}"
     28export BUILD64="${BUILD64}"
     29export CLFS_TARGET32="${CLFS_TARGET32}"
     30EOF</userinput></screen>
    2931
    3032</sect1>
  • BOOK/cross-tools/mips64/flags.xml

    r9ad863d rc63dde1  
    2323     xpointer="xpointer(//*[@os='c'])"/>
    2424
    25 <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    26 echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bashrc
    27 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     25<screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     26export BUILD32="${BUILD32}"
     27export BUILDN32="${BUILDN32}"
     28export BUILD64="${BUILD64}"
     29EOF</userinput></screen>
    2830
    2931</sect1>
  • BOOK/cross-tools/multilib/flags.xml

    r9ad863d rc63dde1  
    2020  prevent issues if we stop and come back later:</para>
    2121
    22 <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    23 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     22<screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     23export BUILD32="${BUILD32}"
     24export BUILD64="${BUILD64}"
     25EOF</userinput></screen>
    2426
    2527</sect1>
  • BOOK/cross-tools/sparc64-64/flags.xml

    r9ad863d rc63dde1  
    2121   xpointer="xpointer(//*[@os='c'])"/>
    2222
    23 <screen os="d"><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
    24 echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     23<screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     24export BUILD64="${BUILD64}"
     25export GCCTARGET="${GCCTARGET}"
     26EOF</userinput></screen>
    2527
    2628   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/sparc64/flags.xml

    r9ad863d rc63dde1  
    2222   xpointer="xpointer(//*[@os='c'])"/>
    2323
    24 <screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    25 echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
    26 echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     24<screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     25export BUILD32="${BUILD32}"
     26export BUILD64="${BUILD64}"
     27export GCCTARGET="${GCCTARGET}"
     28EOF</userinput></screen>
    2729
    2830  <para os="e">The following table gives the entires for different Sparc 64 capable
  • BOOK/cross-tools/x86/variables.xml

    r9ad863d rc63dde1  
    3838  case you have to exit and restart building later:</para>
    3939
    40 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    41 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     40<screen os="f"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     41export CLFS_HOST="${CLFS_HOST}"
     42export CLFS_TARGET="${CLFS_TARGET}"
     43EOF</userinput></screen>
    4244
    4345  <table os="g">
  • BOOK/cross-tools/x86_64/variables.xml

    r9ad863d rc63dde1  
    3737    xpointer="xpointer(//*[@os='e'])"/>
    3838
    39 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    40 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    41 echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     39<screen os="f"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     40export CLFS_HOST="${CLFS_HOST}"
     41export CLFS_TARGET="${CLFS_TARGET}"
     42export CLFS_TARGET32="${CLFS_TARGET32}"
     43EOF</userinput></screen>
    4244
    4345</sect1>
Note: See TracChangeset for help on using the changeset viewer.