Changeset fb68d23 for common/func_ICA.sh


Ignore:
Timestamp:
04/09/2006 11:22:51 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
97520c9
Parents:
02d1ae7
Message:

Added COMPARE config option to avoid to have to test if RUN_ICA or RUN_FARCE are set.
Changed ICA_rebuild by system_rebuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/func_ICA.sh

    r02d1ae7 rfb68d23  
    44wrt_ica_targets() {                #
    55#----------------------------------#
    6   local ICA_rebuild=$1
    7   wrt_ica_rebuild "$ICA_rebuild"
    8   wrt_iterations  "$ICA_rebuild"
     6  local system_rebuild=$1
     7  wrt_system_rebuild "$system_rebuild"
     8  wrt_iterations  "$system_rebuild"
    99}
    1010
    1111#----------------------------------#
    12 wrt_ica_rebuild() {                #
     12wrt_system_rebuild() {                #
    1313#----------------------------------#
    14   local ICA_rebuild=$1
     14  local system_rebuild=$1
    1515(
    1616    cat << EOF
    17 ICA_rebuild:  $ICA_rebuild
     17system_rebuild:  $system_rebuild
    1818
    1919EOF
     
    2424wrt_iterations() {                 #
    2525#----------------------------------#
    26   local ICA_rebuild=$1
     26  local system_rebuild=$1
    2727
    2828  for ((N=1; N <= ITERATIONS ; N++)) ; do # Double parentheses,
     
    3636        @pushd logs && \\
    3737        mkdir $ITERATION && \\
    38         mv $ICA_rebuild $ITERATION && \\
     38        mv $system_rebuild $ITERATION && \\
    3939        popd
    40         @rm -f $ICA_rebuild
     40        @rm -f $system_rebuild
    4141        @touch \$@
    4242
     
    5151        @pushd logs && \\
    5252        mkdir iteration-last && \\
    53         cp $ICA_rebuild iteration-last && \\
     53        cp $system_rebuild iteration-last && \\
    5454        popd
    5555        @do_ica_work
     
    6565        @pushd logs && \\
    6666        mkdir $ITERATION && \\
    67         mv $ICA_rebuild $ITERATION && \\
     67        mv $system_rebuild $ITERATION && \\
    6868        popd
    69         @rm -f $ICA_rebuild
     69        @rm -f $system_rebuild
    7070        @touch \$@
    7171
Note: See TracChangeset for help on using the changeset viewer.