Masaru Tsuchiyama wrote:
> Julian Foad wrote:> Masaru Tsuchiyama wrote:
> >>> () : create mo directory only if the directory doesn't exist,
> >>> to suppress a warning.
> >
> > OK, good.
>
> This change is independent.
> So I make this as a separete patch.
> I'll send this with another mail.
[[[
create po directory only if it doesn't exist to suppress a warning
* build/generator/templates/build_locale.ezt
() : create mo directory only if the directory doesn't exist,
to suppress a warning.
]]]
Regards.
--
Masaru Tsuchiyama <[email protected]>
Index: build/generator/templates/build_locale.ezt
===================================================================
--- build/generator/templates/build_locale.ezt (revision 1517132)
+++ build/generator/templates/build_locale.ezt (working copy)
@@ -19,7 +19,7 @@
@echo off
@rem **************************************************************************
cd ..\..\..\subversion\po
-mkdir ..\..\%1\mo
+IF NOT EXIST ..\..\%1\mo mkdir ..\..\%1\mo
set exitcode=0
[for pofiles]echo Running msgfmt on [pofiles.po]...
msgfmt.exe -c -o ..\..\%1\mo\[pofiles.mo] [pofiles.po]