Changeset 5444 for BOL


Ignore:
Timestamp:
Dec 21, 2024, 9:55:39 PM (6 weeks ago)
Author:
fhourdin
Message:

F90 -> f90 for cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Replay/replay_clean.sh

    r4668 r5444  
    22
    33
     4f90=f90
    45replay_comment="replay automatic include"
    56if [ $# = 0 ] ; then
    67   \rm -f dump_replay*.h dump_param.h dump_ini.h  input tmp_get_subroutine_arg  tmp_include_line  tmp_include_line*  tmp_include_line*_cpp  tmp_include_line*
    78
    8    for file in `grep "$replay_comment" *F90 | cut -d: -f1` ; do
     9   for file in `grep "$replay_comment" *${f90} | cut -d: -f1` ; do
    910      sed -i"" -e "/$replay_comment/d" $file
    1011   done
    11    cat > call_param_replay.F90 <<...eod
     12   cat > call_param_replay.${f90} <<...eod
    1213   subroutine call_param_replay(ngrid,nlay)
    1314   integer,intent(in) :: ngrid,nlay
     
    1617   end
    1718...eod
    18    cat > call_ini_replay.F90 <<...eod
     19   cat > call_ini_replay.${f90} <<...eod
    1920   subroutine call_ini_replay
    2021   stop 'In call_ini_replay : You should run replay_equip.sh before runing replay[13]d'
     
    2829       echo removing $list_include
    2930       \rm -f $list_include
    30        \rm -f dump_replay_`basename $file .F90`_*h
     31       \rm -f dump_replay_`basename $file .${f90}`_*h
    3132       sed -i'' -e "/$replay_comment/d" $file
    3233   done
Note: See TracChangeset for help on using the changeset viewer.