mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
fixes #16 - forces tool to create an empty file in the root tool directory as a basis for initial patch generation
This commit is contained in:
parent
bced63993b
commit
9343d45e22
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ void CPackageDescription::generatePatches(CBNPFileSet& packageIndex) const
|
||||||
std::string prevVersionFileName;
|
std::string prevVersionFileName;
|
||||||
if (packageIndex.getFile(i).versionCount()==1)
|
if (packageIndex.getFile(i).versionCount()==1)
|
||||||
{
|
{
|
||||||
prevVersionFileName= tmpnam(NULL);
|
prevVersionFileName= _RootDirectory + "empty";
|
||||||
NLMISC::COFile tmpFile(prevVersionFileName);
|
NLMISC::COFile tmpFile(prevVersionFileName);
|
||||||
tmpFile.close();
|
tmpFile.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue