|
@@ -65,12 +65,12 @@ class Loader {
|
|
}
|
|
}
|
|
var result = 0;
|
|
var result = 0;
|
|
|
|
|
|
- var macroArg = if (MACROS == null) "" else "-m "+BASE_DIR+MACROS;
|
|
|
|
|
|
+ var macroArg = if (MACROS == null) "" else "-m \""+BASE_DIR+MACROS+"\"";
|
|
|
|
|
|
if (BASE_DIR == "")
|
|
if (BASE_DIR == "")
|
|
- result = Sys.command("temploc -s \""+macroArg+"\" -o \""+TMP_DIR+"\" \""+path+"\" 2> \""+TMP_DIR+"temploc.out\"");
|
|
|
|
|
|
+ result = Sys.command("temploc -s "+macroArg+" -o \""+TMP_DIR+"\" \""+path+"\" 2> \""+TMP_DIR+"temploc.out\"");
|
|
else
|
|
else
|
|
- result = Sys.command("temploc -s \""+macroArg+"\" -o \""+TMP_DIR+"\" -r \""+BASE_DIR+"\" \""+path+"\" 2> \""+TMP_DIR+"temploc.out\"");
|
|
|
|
|
|
+ result = Sys.command("temploc -s "+macroArg+" -o \""+TMP_DIR+"\" -r \""+BASE_DIR+"\" \""+path+"\" 2> \""+TMP_DIR+"temploc.out\"");
|
|
if( result != 0 )
|
|
if( result != 0 )
|
|
throw "temploc compilation or "+path+" failed : "+neko.io.File.getContent(Loader.TMP_DIR+"temploc.out");
|
|
throw "temploc compilation or "+path+" failed : "+neko.io.File.getContent(Loader.TMP_DIR+"temploc.out");
|
|
}
|
|
}
|