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_brodie.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# $hostname of the MASTER job 
    7272typeset -r MASTER=brodie 
     
    866866        # 
    867867        if [ X${JobType} = XRUN ] ; then 
    868             IGCM_sys_Chmod 444 ${1} 
     868            if [ X${3} = X ] ; then 
     869                IGCM_sys_Chmod 444 ${1} 
     870            fi 
    869871        fi 
    870872        # 
Note: See TracChangeset for help on using the changeset viewer.