Changeset 2083

Show
Ignore:
Timestamp:
02/21/05 00:41:16 (19 years ago)
Author:
jalet
Message:

Modified to take care of directories with no '_'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/po/genmo.sh

    r2028 r2083  
    1414# $Id$ 
    1515# 
    16 for dir in *_* ; do  
    17     echo -n $dir ; 
    18     cd $dir ; 
    19     chmod 644 *.?o ; 
    20     msgmerge --no-location --no-fuzzy-matching --output-file=pykota.po.new pykota.po ../pykota.pot ; 
    21     mv pykota.po.new pykota.po ; 
    22     rm pykota.mo ; 
    23     msgfmt -o pykota.mo pykota.po ; 
    24     cd .. ; 
     16for dir in * ; do  
     17    if [ -d $dir ] ; then 
     18        if [ -e $dir/pykota.po ] ; then 
     19            echo -n $dir ; 
     20            cd $dir ; 
     21            chmod 644 *.?o ; 
     22            msgmerge --no-location --no-fuzzy-matching --output-file=pykota.po.new pykota.po ../pykota.pot ; 
     23            mv pykota.po.new pykota.po ; 
     24            rm pykota.mo ; 
     25            msgfmt -o pykota.mo pykota.po ; 
     26            cd .. ; 
     27        fi ;     
     28    fi ;      
    2529done