Changeset 226


Ignore:
Timestamp:
02/26/10 14:46:32 (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_platine.ksh

    r222 r226  
    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 MASTER=platine 
     
    920920        # 
    921921        if [ X${JobType} = XRUN ] ; then 
    922             IGCM_sys_Chmod 444 ${1} 
     922            if [ X${3} = X ] ; then 
     923                IGCM_sys_Chmod 444 ${1} 
     924            fi 
    923925        fi 
    924926        # 
Note: See TracChangeset for help on using the changeset viewer.