Changeset 1102 in svn for trunk/devel/run


Ignore:
Timestamp:
2012-08-01T10:12:14+02:00 (3 years ago)
Author:
Xuefer
Message:

htdocs: updated translation using po

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1101 r1102  
    1919*langphp)
    2020    find htdocs -iname '*.po' | while read -r i; do
    21         echo updateing $i
    22         devel/updatelangphp.awk < $i
     21        phpfile=${i/.po/.php}
     22        devel/updatelangphp.awk < $i > $phpfile.tmp
     23        mv $phpfile.tmp $phpfile
    2324    done
    2425    exit
     
    9798        mkdir -p ../${basename}-${dir}
    9899        cd ../${basename}-${dir} || exit
    99         lndir ../${basename} > /dev/null
     100        lndir ../${basename} >/dev/null || true
    100101
    101102        pwd
    102         $0 "$@"
     103        $0 "$type" "${args[@]}"
    103104    done
    104105    exit
     
    118119
    119120rm -f php-src
    120 find -L . -type l | xargs rm -f
    121 lndir "$xcachesrcdir" >/dev/null
     121find -L . -type l | xargs rm -fv
     122lndir "$xcachesrcdir" >/dev/null || true
    122123find . -iname .\*.swp | xargs rm -f
    123124ln -sf ~/src/php/$phpbasename php-src
Note: See TracChangeset for help on using the changeset viewer.