[FIXED HUDSON-5651] Removing excess whitespace from MAVEN_OPTS

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27559 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
abayer committed 2010-02-16 15:40:20 +00:00
1 parent 1f055074b7
commit 37183f4c86
4 files changed
+28 -4

No files matched your search

+1 -1
View File
@@ -297,7 +297,7 @@ public class Maven extends Builder {
String jvmOptions = env.expand(this.jvmOptions);
if(jvmOptions!=null)
env.put("MAVEN_OPTS",jvmOptions);
env.put("MAVEN_OPTS",jvmOptions.replaceAll("[\t\r\n]+"," "));
}
@Override