Commit cec589a9 authored by Kenton Varda's avatar Kenton Varda

Fix Windows: Evaluate absolute output path correctly.

parent 0f2f7c38
......@@ -421,7 +421,7 @@ public:
if (stat(dir.cStr(), &stats) < 0 || !S_ISDIR(stats.st_mode)) {
return "output location is inaccessible or is not a directory";
}
outputs.add(OutputDirective { plugin, disk->getCurrentPath().eval(dir) });
outputs.add(OutputDirective { plugin, disk->getCurrentPath().evalNative(dir) });
} else {
outputs.add(OutputDirective { spec.asArray(), nullptr });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment