Merge pull request #1561 from mhmdfy/7zipfix

adding underscore between file name and item index
This commit is contained in:
Richard Cordovano 2015-09-10 12:02:06 -04:00
commit 0962851a4b

View File

@ -459,7 +459,7 @@ class SevenZipExtractor {
}
}
final String uniqueExtractedName = uniqueArchiveFileName + File.separator + (item.getItemIndex() / 1000) + File.separator + item.getItemIndex() + new File(pathInArchive).getName();
final String uniqueExtractedName = uniqueArchiveFileName + File.separator + (item.getItemIndex() / 1000) + File.separator + item.getItemIndex() + "_" + new File(pathInArchive).getName();
//final String localRelPath = unpackDir + File.separator + localFileRelPath;
final String localRelPath = moduleDirRelative + File.separator + uniqueExtractedName;