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_titane.ksh

    r545 r548  
    516516 
    517517#D-#================================================== 
     518#D-function IGCM_sys_IsFileArchived 
     519#D-* Purpose: Test file that must NOT EXISTS on Archive 
     520#D-* Examples: 
     521#D- 
     522function IGCM_sys_IsFileArchived { 
     523  IGCM_debug_PushStack "IGCM_sys_IsFileArchived" $@ 
     524  if ( $DEBUG_sys ) ; then 
     525    echo "IGCM_sys_IsFileArchived :" $@ 
     526  fi 
     527  typeset IsArchivedFlag 
     528  IsArchivedFlag=$( [ X$( echo $1 | grep ^\/dmnfs ) != X ] && echo 0 || echo 1 ) 
     529  IGCM_debug_PopStack "IGCM_sys_IsFileArchived" 
     530 
     531  return ${IsArchivedFlag} 
     532} 
     533 
     534#D-#================================================== 
    518535#D-function IGCM_sys_TestFileArchive 
    519536#D-* Purpose: Test file that must NOT EXISTS on Archive 
Note: See TracChangeset for help on using the changeset viewer.