Masaru Tsuchiyama wrote:

> [[[
> create mo 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.
> ]]]

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]

This looks fine.  I can't test it, but as it's trivial and non-critical I'm 
willing to apply it anyway.

Committed in r1518290.

Thanks for the patch.

- Julian

Reply via email to