Changeset cc8d737 in clfs-sysroot for BOOK/final-system


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/final-system/common
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.