make sure Subversion uses English messages trunk
authorStefan Bodewig <bodewig@apache.org>
Sun, 7 Aug 2011 08:42:28 +0000 (08:42 +0000)
committerStefan Bodewig <bodewig@apache.org>
Sun, 7 Aug 2011 08:42:28 +0000 (08:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/svn/trunk@1154671 13f79535-47bb-0310-9956-ffa450edef68

src/main/org/apache/ant/svn/AbstractSvnTask.java

index 29128c6..b723ce9 100644 (file)
@@ -247,6 +247,13 @@ public abstract class AbstractSvnTask extends Task {
      */
     protected void runCommand(Commandline toExecute) throws BuildException {
         Environment env = new Environment();
+        Environment.Variable lang = new Environment.Variable();
+        lang.setKey("LC_ALL");
+        lang.setValue("C");
+        env.addVariable(lang);
+        lang = new Environment.Variable();
+        lang.setKey("LANG");
+        lang.setValue("C");
 
         //
         // Just call the getExecuteStreamHandler() and let it handle