Duplicated classpath fix

This commit is contained in:
Joshua Granick
2014-10-13 04:08:53 -07:00
parent 171f00eb45
commit 35973a60e7

View File

@@ -947,11 +947,14 @@ class HXProject {
if (!StringTools.startsWith (arg, "-")) {
if (compilerFlags.indexOf ("-cp " + arg) == -1) {
var param = "-cp " + PathHelper.standardize (arg);
compilerFlags.remove (param);
compilerFlags.push (param);
//if (compilerFlags.indexOf ("-cp " + arg) == -1) {
compilerFlags.push ("-cp " + PathHelper.standardize (arg));
//compilerFlags.push ("-cp " + PathHelper.standardize (arg));
}
//}
} else {