Ignore:
Timestamp:
Sep 24, 2013, 9:00:44 AM (11 years ago)
Author:
emillour
Message:

Common dynamics: better handling in 'makelmdz' of -I... instructions that might be in the FPP_FLAG section of the arch file.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz

    r1048 r1049  
    299299#NB some -I... might be located in the %FPP_FLAGS section of the arch file
    300300archfileline=$( grep -i '^%FPP_FLAGS' arch.fcm )
    301 archfileopt=$( echo "-I"${archfileline##*-I} ) ## to be improved...
    302 INCLUDE="$INCLUDE ${archfileopt}"
     301for inc in $archfileline ; do INCLUDE="$INCLUDE `echo $inc | grep '\-I'`" ; done
    303302
    304303if [[ "$physique" != "nophys" ]]
Note: See TracChangeset for help on using the changeset viewer.