Changeset 448 for trunk


Ignore:
Timestamp:
04/11/11 15:04:55 (13 years ago)
Author:
sdipsl
Message:

Ease the user's life : more verbosity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r437 r448  
    224224        # If SpaceName is PROD then we stop if post_processing fails 
    225225        # Plan to send an email here with IGCM_sys_SendMail 
    226         if [ X${config_UserChoices_SpaceName} = XPROD ] ; then 
     226        if ( [ X${config_UserChoices_SpaceName} = XPROD ] && [ X${JobType} = XRUN ] ) ; then 
    227227            echo "                        EXIT THE JOB." 
    228228            echo 
     
    237237            exit 1 
    238238        else 
    239             echo "         BUT WE DO NOT EXIT THE JOB." 
     239            echo "Either inside config.card the variable SpaceName is not in PROD" 
     240            echo "or insinde the main Job the variable JobType is not in RUN mode" 
     241            echo "              SO WE DO NOT EXIT THE JOB." 
    240242            echo 
    241243            date 
Note: See TracChangeset for help on using the changeset viewer.