[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/translator/po update.pl,1.1.2.4,1.1.2.5
From: |
Ambrose C. LI |
Subject: |
[Koha-cvs] CVS: koha/misc/translator/po update.pl,1.1.2.4,1.1.2.5 |
Date: |
Sat, 22 Jan 2005 22:22:29 -0800 |
Update of /cvsroot/koha/koha/misc/translator/po
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18923
Modified Files:
Tag: rel_2_2
update.pl
Log Message:
create fails if the pot file already exists
Index: update.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/po/Attic/update.pl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -r1.1.2.4 -r1.1.2.5
*** update.pl 23 Jan 2005 05:16:15 -0000 1.1.2.4
--- update.pl 23 Jan 2005 06:22:26 -0000 1.1.2.5
***************
*** 48,51 ****
--- 48,52 ----
#
my $target = "po/${theme}_${module}" . ($pot_p? ".pot": "$lang.po");
+ rename($target, "$target~") if $pot_p;
exec('./tmpl_process3.pl', ($pot_p? 'create': 'update'),
'-i', "../../koha-tmpl/$module-tmpl/$theme/en/",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator/po update.pl,1.1.2.4,1.1.2.5,
Ambrose C. LI <=