Ignore:
Timestamp:
02/09/12 19:04:14 (12 years ago)
Author:
sdipsl
Message:

Bugfix : when retrieving input ifiles from another filesystem than /dmnfs you must not use dmget ... it hangs forever ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_cesium.ksh

    r545 r548  
    439439 
    440440#D-#================================================== 
     441#D-function IGCM_sys_IsFileArchived 
     442#D-* Purpose: Test file that must NOT EXISTS on Archive 
     443#D-* Examples: 
     444#D- 
     445function IGCM_sys_IsFileArchived { 
     446  IGCM_debug_PushStack "IGCM_sys_IsFileArchived" $@ 
     447  if ( $DEBUG_sys ) ; then 
     448    echo "IGCM_sys_IsFileArchived :" $@ 
     449  fi 
     450  typeset IsArchivedFlag 
     451  IsArchivedFlag=$( [ X$( echo $1 | grep ^\/dmnfs ) != X ] && echo 0 || echo 1 ) 
     452  IGCM_debug_PopStack "IGCM_sys_IsFileArchived" 
     453 
     454  return ${IsArchivedFlag} 
     455} 
     456 
     457#D-#================================================== 
    441458#D-function IGCM_sys_TestFileArchive 
    442459#D-* Purpose: Test file that must NOT EXISTS on Archive 
Note: See TracChangeset for help on using the changeset viewer.