New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1452 – NEMO

Changeset 1452


Ignore:
Timestamp:
2009-05-15T17:51:13+02:00 (15 years ago)
Author:
smasson
Message:

bugfix in NVTK related to changeset:1412, see ticket:420

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NVTK/INSTALL/JOBS/lance_batch.ksh

    r1412 r1452  
    246246esac 
    247247 
    248 chwd () {  
    249     word=$( grep "^ *${1}" job_tmp_${RUN}.ksh | cut -f 1 -d " " ) 
    250     if [ "${word}" != "" ]  
    251     then 
    252    sed -e "s@${word}@${1%=*}=\"${2}\"@" job_tmp_${RUN}.ksh > tmp$$ 
    253    mv tmp$$ job_tmp_${RUN}.ksh 
    254     fi 
    255 } 
    256  
    257248while [ $ind -lt ${iloop} ] 
    258249do 
    259250 
     251    chwd () {  
     252   word=$( grep "^ *${1}" job_tmp_${RUN}.ksh | cut -f 1 -d " " ) 
     253   if [ "${word}" != "" ]  
     254   then 
     255       sed -e "s@${word}@${1%=*}=\"${2}\"@" job_tmp_${RUN}.ksh > tmp$$ 
     256       mv tmp$$ job_tmp_${RUN}.ksh 
     257   fi 
     258    } 
    260259       chwd "type="                "${jobnam[$ind]}" 
    261260       chwd "RUN=xxx"              "${RUN}" 
Note: See TracChangeset for help on using the changeset viewer.