Ignore:
Timestamp:
May 3, 2012, 8:59:10 AM (13 years ago)
Author:
emillour
Message:

All GCMs: Minor improvement of the makegcm script.
Force outputs of the 'find' command to be
sorted (otherwise a same 'find' can sometimes yield results in a different
order, which in the present case triggers the rebuilding of the makefile
although it is not necessary).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makegcm

    r134 r646  
    763763##########################################
    764764cd $model
    765 find libf -name '*.[Fh]' -print >! tmp77
    766 find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print >! tmp90
    767 find libf -name '*.[Fh]90' -print >> tmp90
     765find libf -name '*.[Fh]' -print | sort >! tmp77
     766find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print | sort >! tmp90
     767find libf -name '*.[Fh]90' -print | sort >> tmp90
    768768
    769769if (    `diff tmp77 liste_des_sources_f77 | wc -w` \
Note: See TracChangeset for help on using the changeset viewer.