Ignore:
Timestamp:
02/26/10 14:55:34 (14 years ago)
Author:
mmaipsl
Message:

Supress buggy space after HOST and LOGIN variables.
Add an optionnal argument to all IGCM_sys_Put_Out functions :
if any 3thrd argument is there, file won't be protected. If
there is no argument (default in libIGCM), file will be set read-only.

File:
1 edited

Legend:

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

    r217 r228  
    6666# Host and user names  
    6767# $hostname ou hostname 
    68 typeset  HOST=${HOST:=$( hostname ) } 
     68typeset  HOST=${HOST:=$( hostname )} 
    6969# $username ou whoami 
    70 typeset  LOGIN=${LOGIN:=$( whoami ) } 
     70typeset  LOGIN=${LOGIN:=$( whoami )} 
    7171 
    7272#D- 
     
    800800        # 
    801801        if [ X${JobType} = XRUN ] ; then 
    802             IGCM_sys_Chmod 444 ${1} 
     802            if [ X${3} = X ] ; then 
     803                IGCM_sys_Chmod 444 ${1} 
     804            fi 
    803805        fi 
    804806        # 
Note: See TracChangeset for help on using the changeset viewer.