[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] create LC_MESSAGES directories and copy subversion.mo to the directories at compile time

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 28 Aug 2013 18:21:52 +0100 (BST)

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
Received on 2013-08-28 19:25:17 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.