Changeset cc8d737 in clfs-sysroot for BOOK


Ignore:
Timestamp:
Mar 15, 2009, 7:07:43 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
8909252
Parents:
47dadc6
Message:

Use cat instead of echo wherever possible.

Location:
BOOK
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/variables.xml

    r47dadc6 rcc8d737  
    3535  case you have to exit and restart building later:</para>
    3636
    37 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    38 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     37<screen os="f"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     38export CLFS_HOST="${CLFS_HOST}"
     39export CLFS_TARGET="${CLFS_TARGET}"
     40EOF</userinput></screen>
    3941
    4042</sect1>
  • BOOK/cross-tools/common/cflags.xml

    r47dadc6 rcc8d737  
    2323  case you have to exit and restart building later:</para>
    2424
    25 <screen><userinput>echo unset CFLAGS &gt;&gt; ~/.bashrc
    26 echo unset CXXFLAGS &gt;&gt; ~/.bashrc</userinput></screen>
     25<screen><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     26unset CFLAGS
     27unset CXXFLAGS
     28EOF</userinput></screen>
    2729
    2830</sect1>
  • BOOK/cross-tools/common/glibc.xml

    r47dadc6 rcc8d737  
    8181    <filename>configparms</filename> to adjust installation paths:</para>
    8282
    83 <screen os="g"><userinput>echo "install_root=${CLFS}" &gt; configparms</userinput></screen>
     83<screen os="g"><userinput>cat &gt; configparms &lt;&lt; EOF
     84install_root=${CLFS}
     85EOF</userinput></screen>
    8486
    8587    <para os="h">Prepare Glibc for compilation:</para>
  • BOOK/cross-tools/common/shadow.xml

    r47dadc6 rcc8d737  
    2323    make sure that the <filename>passwd</filename> program is found:</para>
    2424
    25 <screen><userinput>echo "shadow_cv_passwd_dir=${CLFS}/bin" &gt; config.cache</userinput></screen>
     25<screen><userinput>cat &gt; config.cache &lt;&lt; EOF
     26shadow_cv_passwd_dir=${CLFS}/bin"
     27EOF</userinput></screen>
    2628
    2729    <para>The following value causes Shadow to use its internal lckpwdf
     
    2931    attempt to modify the host system:</para>
    3032
    31 <screen><userinput>echo "ac_cv_func_lckpwdf=no" &gt;&gt; config.cache</userinput></screen>
     33<screen><userinput>cat &gt; config.cache &lt;&lt; EOF
     34ac_cv_func_lckpwdf=no
     35EOF</userinput></screen>
    3236
    3337    <para>Prepare Shadow for compilation:</para>
  • BOOK/final-system/common/bison.xml

    r47dadc6 rcc8d737  
    3535    this:</para>
    3636
    37 <screen os="b2"><userinput>echo '#define YYENABLE_NLS 1' &gt;&gt; config.h</userinput></screen> 
     37<screen os="b2"><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
     38#define YYENABLE_NLS 1
     39EOF</userinput></screen> 
    3840
    3941    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/coreutils.xml

    r47dadc6 rcc8d737  
    5757    to correct this:</para>
    5858
    59 <screen os="b"><userinput>echo "fu_cv_sys_stat_statfs2_bsize=yes" &gt; config.cache</userinput></screen>
     59<screen os="b"><userinput>cat &gt; config.cache &lt;&lt; EOF
     60fu_cv_sys_stat_statfs2_bsize=yes
     61EOF</userinput></screen>
    6062
    6163    <para os="c">Now prepare Coreutils for compilation:</para>
  • BOOK/final-system/common/findutils.xml

    r47dadc6 rcc8d737  
    3131    run a select few tests, Set the values manually:</para>
    3232
    33 <screen os="c2"><userinput>echo "gl_cv_func_wcwidth_works=yes" &gt; config.cache
    34 echo "gl_cv_header_working_fcntl_h=yes" &gt;&gt; config.cache
    35 echo "ac_cv_func_fnmatch_gnu=yes" &gt;&gt; config.cache</userinput></screen>
     33<screen os="c2"><userinput>cat &gt; config.cache &lt;&lt; EOF
     34gl_cv_func_wcwidth_works=yes
     35gl_cv_header_working_fcntl_h=yes
     36ac_cv_func_fnmatch_gnu=yes
     37EOF</userinput></screen>
    3638
    3739    <para os="a">Prepare Findutils for compilation:</para>
  • BOOK/final-system/common/gettext.xml

    r47dadc6 rcc8d737  
    3131    run a select few tests, Set the values manually:</para>
    3232
    33 <screen os="c2"><userinput>echo "am_cv_func_iconv_works=yes" &gt; config.cache
    34 echo "gl_cv_func_wcwidth_works=yes" &gt;&gt; config.cache
    35 echo "gt_cv_func_printf_posix=yes" &gt;&gt; config.cache
    36 echo "gt_cv_int_divbyzero_sigfpe=yes" &gt;&gt; config.cache</userinput></screen>
     33<screen os="c2"><userinput>cat &gt; config.cache &lt;&lt; EOF
     34am_cv_func_iconv_works=yes
     35gl_cv_func_wcwidth_works=yes
     36gt_cv_func_printf_posix=yes
     37gt_cv_int_divbyzero_sigfpe=yes
     38EOF</userinput></screen>
    3739
    3840    <para os="a">Prepare Gettext for compilation:</para>
  • BOOK/final-system/common/kbd.xml

    r47dadc6 rcc8d737  
    2929    run a select few tests, Set the values manually:</para>
    3030
    31 <screen os="cc1"><userinput>echo "ac_cv_func_setpgrp_void=yes" &gt; config.cache
    32 echo "ac_cv_func_malloc_0_nonnull=yes" &gt;&gt; config.cache
    33 echo "ac_cv_func_realloc_0_nonnull=yes" &gt;&gt; config.cache</userinput></screen>
     31<screen os="cc1"><userinput>cat &gt; config.cache &lt;&lt; EOF
     32ac_cv_func_setpgrp_void=yes
     33ac_cv_func_malloc_0_nonnull=yes
     34ac_cv_func_realloc_0_nonnull=yes
     35EOF</userinput></screen>
    3436
    3537    <para os="a">Prepare Kbd for compilation:</para>
  • BOOK/final-system/common/patch.xml

    r47dadc6 rcc8d737  
    3333    force the fallback value.</para>
    3434
    35 <screen os="b"><userinput>echo "ac_cv_path_ed_PROGRAM=ed" &gt; config.cache</userinput></screen>
     35<screen os="b"><userinput>cat &gt; config.cache &lt;&lt; EOF
     36ac_cv_path_ed_PROGRAM=ed
     37EOF</userinput></screen>
    3638
    3739    <para os="c">Prepare Patch for compilation:</para>
  • BOOK/final-system/common/psmisc.xml

    r47dadc6 rcc8d737  
    3030    following tells it that we do:</para>
    3131
    32 <screen os="a2"><userinput>echo "ac_cv_func_malloc_0_nonnull=yes" &gt; config.cache
    33 echo "ac_cv_func_realloc_0_nonnull=yes" &gt;&gt; config.cache</userinput></screen>
     32<screen os="a2"><userinput>cat &gt; config.cache &lt;&lt; EOF
     33ac_cv_func_malloc_0_nonnull=yes
     34ac_cv_func_realloc_0_nonnull=yes
     35EOF</userinput></screen>
    3436
    3537    <para os="a">Prepare Psmisc for compilation:</para>
  • BOOK/final-system/common/shadow.xml

    r47dadc6 rcc8d737  
    3737    cannot be run when cross-compiling:</para>
    3838
    39 <screen os="c"><userinput>echo "ac_cv_func_setpgrp_void=yes" &gt; config.cache</userinput></screen>
     39<screen os="c"><userinput>cat &gt; config.cache &lt;&lt; EOF
     40ac_cv_func_setpgrp_void=yes
     41EOF</userinput></screen>
    4042
    4143    <para os="d">Prepare Shadow for compilation:</para>
  • BOOK/final-system/common/variables.xml

    r47dadc6 rcc8d737  
    2525  prevent issues if you stop and come back later:</para>
    2626
    27 <screen><userinput>echo export CC=\""${CC}\"" &gt;&gt; ~/.bashrc
    28 echo export CXX=\""${CXX}\"" &gt;&gt; ~/.bashrc
    29 echo export AR=\""${AR}\"" &gt;&gt; ~/.bashrc
    30 echo export AS=\""${AS}\"" &gt;&gt; ~/.bashrc
    31 echo export RANLIB=\""${RANLIB}\"" &gt;&gt; ~/.bashrc
    32 echo export LD=\""${LD}\"" &gt;&gt; ~/.bashrc
    33 echo export STRIP=\""${STRIP}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     27<screen><userinput>cat &gt; config.cache &lt;&lt; EOF
     28export CC="${CC}"
     29export CXX="${CXX}"
     30export AR="${AR}"
     31export AS="${AS}"
     32export RANLIB="${RANLIB}"
     33export LD="${LD}"
     34export STRIP="${STRIP}"
     35EOF</userinput></screen>
    3436
    3537</sect1>
  • BOOK/final-system/common/vim.xml

    r47dadc6 rcc8d737  
    6262    class="directory">/etc</filename>:</para>
    6363
    64 <screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
     64<screen os="c"><userinput>cat &gt;&gt; src/feature.h &lt;&lt; "EOF"
     65#define SYS_VIMRC_FILE "/etc/vimrc"
     66EOF</userinput></screen>
    6567
    6668    <para os="d">Prepare Vim for compilation:</para>
  • BOOK/network/common/hostname.xml

    r47dadc6 rcc8d737  
    2222  and enter a hostname by running:</para>
    2323
    24   <screen><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" &gt; ${CLFS}/etc/sysconfig/network</userinput></screen>
     24<screen><userinput>cat &gt; ${CLFS}/etc/sysconfig/network &lt;&lt; EOF
     25HOSTNAME=<replaceable>[clfs]</replaceable>
     26EOF</userinput></screen>
    2527
    2628  <para><replaceable>[clfs]</replaceable> needs to be replaced with the
  • BOOK/the-end/theend.xml

    r47dadc6 rcc8d737  
    2424  Create this file by running:</para>
    2525
    26 <screen><userinput>echo CLFS-Sysroot-&version; &gt; ${CLFS}/etc/clfs-release</userinput></screen>
     26<screen><userinput>cat &gt; ${CLFS}/etc/clfs-release &lt;&lt; EOF
     27CLFS-Sysroot-&version;
     28EOF</userinput></screen>
    2729
    2830</sect1>
Note: See TracChangeset for help on using the changeset viewer.