Change the other place too

This commit is contained in:
Matt Nadareski
2016-05-27 13:10:56 -07:00
parent 25f34733da
commit aa887a46fc

View File

@@ -370,7 +370,7 @@ namespace SabreTools
// If we have an output directory set, replace the path // If we have an output directory set, replace the path
string path = ""; string path = "";
if (_inplace) if (_inplace || !String.IsNullOrEmpty(_outdir))
{ {
path = Path.GetDirectoryName(_inputs[j].Split('¬')[0]); path = Path.GetDirectoryName(_inputs[j].Split('¬')[0]);
} }