Respect -output even if compiling module script

This commit is contained in:
Maxim Shafirov
2012-02-01 21:26:31 +04:00
parent 2478582670
commit f58bbb8de6
3 changed files with 13 additions and 8 deletions
@@ -90,6 +90,6 @@ public class BytecodeCompiler {
* @param classpath compilation classpath, can be <code>null</code> or empty
*/
public void moduleToJar ( String module, String jar, boolean includeRuntime, String stdlib, String[] classpath ) {
env( stdlib, classpath ).compileModuleScript( module, jar, includeRuntime );
env( stdlib, classpath ).compileModuleScript( module, jar, null, includeRuntime );
}
}