System property kotlin.jps.test may be null

This commit is contained in:
Natalia.Ukhorskaya
2012-11-27 16:48:19 +04:00
parent 6f4afd675f
commit 673eba662d
@@ -49,7 +49,7 @@ public class PathUtil {
@NotNull
public static KotlinPaths getKotlinPathsForJpsPluginOrJpsTests() {
if (System.getProperty("kotlin.jps.tests").equals("true")) {
if ("true".equalsIgnoreCase(System.getProperty("kotlin.jps.tests"))) {
return getKotlinPathsForDistDirectory();
}
return getKotlinPathsForJpsPlugin();