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

    r545 r548  
    453453 
    454454  return ${ExistFlag} 
     455} 
     456 
     457#D-#================================================== 
     458#D-function IGCM_sys_IsFileArchived 
     459#D-* Purpose: Test file that must NOT EXISTS on Archive 
     460#D-* Examples: 
     461#D- 
     462function IGCM_sys_IsFileArchived { 
     463  IGCM_debug_PushStack "IGCM_sys_IsFileArchived" $@ 
     464  if ( $DEBUG_sys ) ; then 
     465    echo "IGCM_sys_IsFileArchived :" $@ 
     466  fi 
     467  typeset IsArchivedFlag 
     468  IsArchivedFlag=$( [ X$( echo $1 | grep ^\/dmnfs ) != X ] && echo 0 || echo 1 ) 
     469  IGCM_debug_PopStack "IGCM_sys_IsFileArchived" 
     470 
     471  return ${IsArchivedFlag} 
    455472} 
    456473 
Note: See TracChangeset for help on using the changeset viewer.