Ignore:
Timestamp:
Oct 24, 2024, 1:10:52 PM (4 weeks ago)
Author:
afalco
Message:

ICOSA_LMDZ: overall compilation stops when compilation of a module fails.
Errors from internal calls in compilation scripts are transferred to the scripts above.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/build_gcm

    r1019 r3484  
    55# the full path to where the 'fcm' command is to be found
    66
    7 if test -f '.lock' 
     7if test -f '.lock'
    88  then
    99    echo 'ATTENTION: vous etes sans doute en train de compiler le modele par ailleurs'
     
    1919    echo "Do you wish to continue?"
    2020    read ouinon
    21     if [[ $ouinon == "oui" || $ouinon == "yes" ]] 
     21    if [[ $ouinon == "oui" || $ouinon == "yes" ]]
    2222        then
    23         echo OK 
     23        echo OK
    2424    else
    2525        exit
     
    4545# run "fcm build" command
    4646${dirname}fcm build $*
     47if [ $? != 0 ]; then # check if fcm command worked
     48    exit 1
     49fi
     50
    4751
    4852# cleanup
    49 \rm -f '.lock' 
     53\rm -f '.lock'
    5054
Note: See TracChangeset for help on using the changeset viewer.