summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-18 12:25:24 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-18 12:25:24 (GMT)
commit4709c76f0f6f1a9aba80f01b13cbabfe8b80c187 (patch)
tree4a10a57446a8c9b8c3dc686fc97ec1c07d90f50d /Source/cmFileCommand.cxx
parent77771481dd0fedee9bd1df420bf29d298e3c337a (diff)
downloadCMake-4709c76f0f6f1a9aba80f01b13cbabfe8b80c187.zip
CMake-4709c76f0f6f1a9aba80f01b13cbabfe8b80c187.tar.gz
CMake-4709c76f0f6f1a9aba80f01b13cbabfe8b80c187.tar.bz2
ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 2808c58..68bc52d 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -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;