mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Fixed: Path when UnpackTo doesn't have a trailing /
--HG-- branch : develop
This commit is contained in:
parent
aebc890f9c
commit
149adc351a
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
||||||
for (uint32 fff = 0; fff < vFilenames.size (); fff++)
|
for (uint32 fff = 0; fff < vFilenames.size (); fff++)
|
||||||
{
|
{
|
||||||
string SrcPath = ClientPatchPath;
|
string SrcPath = ClientPatchPath;
|
||||||
string DstPath = rCat.getUnpackTo();
|
string DstPath = CPath::standardizePath(rCat.getUnpackTo()); // to be sure there is a / at the end
|
||||||
NLMISC::CFile::createDirectoryTree(DstPath);
|
NLMISC::CFile::createDirectoryTree(DstPath);
|
||||||
|
|
||||||
// this file must be moved
|
// this file must be moved
|
||||||
|
|
Loading…
Reference in a new issue