ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it

This commit is contained in:
Andy Cedilnik
2006-04-18 08:25:24 -04:00
parent 77771481dd
commit 4709c76f0f
7 changed files with 188 additions and 32 deletions

View File

@@ -108,7 +108,9 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
}
if ( !this->Makefile->CanIWriteThisFile(fileName.c_str()) )
{
std::string e = "attempted to write a file: " + fileName + " into a source directory.";
std::string e
= "attempted to write a file: " + fileName +
" into a source directory.";
this->SetError(e.c_str());
cmSystemTools::SetFatalErrorOccured();
return false;