Last change
on this file since 4530 was
4378,
checked in by fhourdin, 2 years ago
|
Modification pour eviter la recompilation
|
File size:
583 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | |
---|
4 | replay_comment="replay automatic include" |
---|
5 | if [ $# = 0 ] ; then |
---|
6 | \rm -f dump_replay*.h dump_param.h dump_ini.h call_param_repla* get_ini_modul* input tmp tmp2 tmp3 tmp2_cpp |
---|
7 | for file in `grep "$replay_comment" *F90 | cut -d: -f1` ; do |
---|
8 | sed -i"" -e "/$replay_comment/d" $file |
---|
9 | done |
---|
10 | else |
---|
11 | for file in $* ; do |
---|
12 | list_include=`grep $replay_comment $file | grep include | cut -d\" -f2` |
---|
13 | echo removing $list_include |
---|
14 | \rm -f $list_include |
---|
15 | \rm -f dump_replay_`basename $file .F90`_*h |
---|
16 | sed -i'' -e "/$replay_comment/d" $file |
---|
17 | done |
---|
18 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.