Index: BOL/Replay/replay_clean.sh
===================================================================
--- BOL/Replay/replay_clean.sh	(revision 5442)
+++ BOL/Replay/replay_clean.sh	(revision 5444)
@@ -2,12 +2,13 @@
 
 
+f90=f90
 replay_comment="replay automatic include"
 if [ $# = 0 ] ; then
    \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*
 
-   for file in `grep "$replay_comment" *F90 | cut -d: -f1` ; do
+   for file in `grep "$replay_comment" *${f90} | cut -d: -f1` ; do
       sed -i"" -e "/$replay_comment/d" $file
    done
-   cat > call_param_replay.F90 <<...eod
+   cat > call_param_replay.${f90} <<...eod
    subroutine call_param_replay(ngrid,nlay)
    integer,intent(in) :: ngrid,nlay
@@ -16,5 +17,5 @@
    end
 ...eod
-   cat > call_ini_replay.F90 <<...eod
+   cat > call_ini_replay.${f90} <<...eod
    subroutine call_ini_replay
    stop 'In call_ini_replay : You should run replay_equip.sh before runing replay[13]d'
@@ -28,5 +29,5 @@
        echo removing $list_include
        \rm -f $list_include
-       \rm -f dump_replay_`basename $file .F90`_*h
+       \rm -f dump_replay_`basename $file .${f90}`_*h
        sed -i'' -e "/$replay_comment/d" $file
    done
