Skip to content
Browse files

GROOVY-5024: Reduce groovyc command line length

  • Loading branch information...
1 parent 7d045c2 commit 4c5c29d76e0d16a144e42b21bec3eec2fff38caa @paulk-asert paulk-asert committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/org/codehaus/groovy/ant/Groovyc.java
View
2 src/main/org/codehaus/groovy/ant/Groovyc.java
@@ -939,7 +939,7 @@ protected void compile() {
private String[] addClasspathToEnvironment(String[] oldEnvironment, String classpath) {
List<String> newEnvironmentList = (oldEnvironment == null) ? new ArrayList<String>() : Arrays.asList(oldEnvironment);
- newEnvironmentList.add("classpath=" + classpath);
+ newEnvironmentList.add("CLASSPATH=" + classpath);
return newEnvironmentList.toArray(new String[newEnvironmentList.size()]);
}

0 comments on commit 4c5c29d

Please sign in to comment.
Something went wrong with that request. Please try again.