Fixed: _PatchDirectory already has a trailing slash

This commit is contained in:
kervala 2015-12-15 13:40:12 +01:00
parent a09a5be6d1
commit 180ef53f43

View file

@ -384,7 +384,7 @@ void CPackageDescription::generatePatches(CBNPFileSet& packageIndex) const
std::string refVersionFileName= prevVersionFileName;
// create the subdirectory for this patch number
string versionSubDir = _PatchDirectory+"/"+toString("%05u/", curVersion.getVersionNumber());
string versionSubDir = _PatchDirectory + toString("%05u/", curVersion.getVersionNumber());
CFile::createDirectory(versionSubDir);
// generate the lzma packed version of the bnp if needed (lzma file are slow to generate)