Revision 2083, 0.9 kB
(checked in by jalet, 20 years ago)
|
Modified to take care of directories with no '_'
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | # |
---|
3 | # PyKota - Print Quotas for CUPS and LPRng |
---|
4 | # |
---|
5 | # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> |
---|
6 | # You're welcome to redistribute this software under the |
---|
7 | # terms of the GNU General Public Licence version 2.0 |
---|
8 | # or, at your option, any higher version. |
---|
9 | # |
---|
10 | # You can read the complete GNU GPL in the file COPYING |
---|
11 | # which should come along with this software, or visit |
---|
12 | # the Free Software Foundation's WEB site http://www.fsf.org |
---|
13 | # |
---|
14 | # $Id$ |
---|
15 | # |
---|
16 | for 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 ; |
---|
29 | done |
---|