Changeset 398


Ignore:
Timestamp:
12/08/10 15:17:24 (13 years ago)
Author:
sdipsl
Message:

Minor bugfix : Script_Output cleaning in the SUBMIT_DIR was not working

File:
1 edited

Legend:

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

    r394 r398  
    770770        IGCM_sys_Cd ${SUBMIT_DIR} 
    771771        # Keep only the 5 latest ${Script_Output_Prefix}_${config_UserChoices_JobName} 
    772         ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? > /dev/null 2>&1 | wc -l ) 
     772        ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? 2>/dev/null | wc -l ) 
    773773        [ ${ScriptTot} -gt 5 ] && rm -f $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? | head -$(( ${ScriptTot} - 5 )) ) 
    774774        # Submit next job and come back 
Note: See TracChangeset for help on using the changeset viewer.