[ArchiveTools] Get full path of combined file

This commit is contained in:
Matt Nadareski
2016-06-20 20:20:17 -07:00
parent 2854371d54
commit fc5fdb24df

View File

@@ -212,7 +212,7 @@ namespace SabreTools.Helper
logger.Log("Current entry name: '" + reader.Entry.Key + "'");
if (reader.Entry != null && reader.Entry.Key.Contains(entryname))
{
outfile = Path.Combine(tempdir, reader.Entry.Key);
outfile = Path.GetFullPath(Path.Combine(tempdir, reader.Entry.Key));
if (!Directory.Exists(Path.GetDirectoryName(outfile)))
{
Directory.CreateDirectory(Path.GetDirectoryName(outfile));