parent
483a147136
commit
e47fbcb9a8
|
@ -138,8 +138,9 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName,
|
||||||
topLevelWithTrailingSlash += '/';
|
topLevelWithTrailingSlash += '/';
|
||||||
for ( fileIt = files.begin(); fileIt != files.end(); ++ fileIt )
|
for ( fileIt = files.begin(); fileIt != files.end(); ++ fileIt )
|
||||||
{
|
{
|
||||||
cmd = cmakeExecutable;
|
cmd = "\"";
|
||||||
cmd += " -E md5sum \"";
|
cmd += cmakeExecutable;
|
||||||
|
cmd += "\" -E md5sum \"";
|
||||||
cmd += *fileIt;
|
cmd += *fileIt;
|
||||||
cmd += "\"";
|
cmd += "\"";
|
||||||
//std::string output;
|
//std::string output;
|
||||||
|
@ -158,8 +159,9 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cmd = cmakeExecutable;
|
cmd = "\"";
|
||||||
cmd += " -E tar cfz control.tar.gz ./control ./md5sums";
|
cmd += cmakeExecutable;
|
||||||
|
cmd += "\" -E tar cfz control.tar.gz ./control ./md5sums";
|
||||||
res = cmSystemTools::RunSingleCommand(cmd.c_str(), &output,
|
res = cmSystemTools::RunSingleCommand(cmd.c_str(), &output,
|
||||||
&retVal, toplevel, this->GeneratorVerbose, 0);
|
&retVal, toplevel, this->GeneratorVerbose, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue