summaryrefslogtreecommitdiff
path: root/Source/cmConfigureFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-16 15:09:19 -0400
committerBrad King <brad.king@kitware.com>2009-09-16 15:09:19 -0400
commitdda0da8b9ef32d4ac36961bb5345988ca502c357 (patch)
tree9c6f60cc85d47ff222e0ca85bcc12d4bf323def8 /Source/cmConfigureFileCommand.cxx
parentd23d268e39a202d5cd9e62c9d4dbaf875dedb333 (diff)
downloadcmake-dda0da8b9ef32d4ac36961bb5345988ca502c357.tar.gz
Fix typo in cmConfigureFileCommand ivar name
Rename 'OuputFile' to 'OutputFile'.
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r--Source/cmConfigureFileCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index cac2552778..8a0377884f 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -28,10 +28,10 @@ bool cmConfigureFileCommand
return false;
}
this->InputFile = args[0];
- this->OuputFile = args[1];
- if ( !this->Makefile->CanIWriteThisFile(this->OuputFile.c_str()) )
+ this->OutputFile = args[1];
+ if ( !this->Makefile->CanIWriteThisFile(this->OutputFile.c_str()) )
{
- std::string e = "attempted to configure a file: " + this->OuputFile
+ std::string e = "attempted to configure a file: " + this->OutputFile
+ " into a source directory.";
this->SetError(e.c_str());
cmSystemTools::SetFatalErrorOccured();
@@ -97,7 +97,7 @@ int cmConfigureFileCommand::ConfigureFile()
inFile += this->InputFile;
}
return this->Makefile->ConfigureFile(inFile.c_str(),
- this->OuputFile.c_str(),
+ this->OutputFile.c_str(),
this->CopyOnly,
this->AtOnly,
this->EscapeQuotes);