summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-16 19:09:19 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-16 19:09:19 (GMT)
commitdda0da8b9ef32d4ac36961bb5345988ca502c357 (patch)
tree9c6f60cc85d47ff222e0ca85bcc12d4bf323def8 /Source
parentd23d268e39a202d5cd9e62c9d4dbaf875dedb333 (diff)
downloadCMake-dda0da8b9ef32d4ac36961bb5345988ca502c357.zip
CMake-dda0da8b9ef32d4ac36961bb5345988ca502c357.tar.gz
CMake-dda0da8b9ef32d4ac36961bb5345988ca502c357.tar.bz2
Fix typo in cmConfigureFileCommand ivar name
Rename 'OuputFile' to 'OutputFile'.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmConfigureFileCommand.cxx8
-rw-r--r--Source/cmConfigureFileCommand.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index cac2552..8a03778 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);
diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h
index b65ced1..9e22897 100644
--- a/Source/cmConfigureFileCommand.h
+++ b/Source/cmConfigureFileCommand.h
@@ -86,7 +86,7 @@ private:
int ConfigureFile();
std::string InputFile;
- std::string OuputFile;
+ std::string OutputFile;
bool CopyOnly;
bool EscapeQuotes;
bool Immediate;