Merge topic 'CPackDeb-fixFakerootOnControl'
abc9b32
Use fakeroot for control.tar.gz as well
This commit is contained in:
commit
21be162f9b
|
@ -480,7 +480,12 @@ int cmCPackDebGenerator::createDeb()
|
||||||
// Do not end the md5sum file with yet another (invalid)
|
// Do not end the md5sum file with yet another (invalid)
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd = "\"";
|
cmd = "";
|
||||||
|
if (NULL != this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE"))
|
||||||
|
{
|
||||||
|
cmd = this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE");
|
||||||
|
}
|
||||||
|
cmd += " \"";
|
||||||
cmd += cmakeExecutable;
|
cmd += cmakeExecutable;
|
||||||
cmd += "\" -E tar cfz control.tar.gz ./control ./md5sums";
|
cmd += "\" -E tar cfz control.tar.gz ./control ./md5sums";
|
||||||
const char* controlExtra =
|
const char* controlExtra =
|
||||||
|
|
Loading…
Reference in New Issue