Fix typo in cmConfigureFileCommand ivar name
Rename 'OuputFile' to 'OutputFile'.
This commit is contained in:
parent
d23d268e39
commit
dda0da8b9e
|
@ -28,10 +28,10 @@ bool cmConfigureFileCommand
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this->InputFile = args[0];
|
this->InputFile = args[0];
|
||||||
this->OuputFile = args[1];
|
this->OutputFile = args[1];
|
||||||
if ( !this->Makefile->CanIWriteThisFile(this->OuputFile.c_str()) )
|
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.";
|
+ " into a source directory.";
|
||||||
this->SetError(e.c_str());
|
this->SetError(e.c_str());
|
||||||
cmSystemTools::SetFatalErrorOccured();
|
cmSystemTools::SetFatalErrorOccured();
|
||||||
|
@ -97,7 +97,7 @@ int cmConfigureFileCommand::ConfigureFile()
|
||||||
inFile += this->InputFile;
|
inFile += this->InputFile;
|
||||||
}
|
}
|
||||||
return this->Makefile->ConfigureFile(inFile.c_str(),
|
return this->Makefile->ConfigureFile(inFile.c_str(),
|
||||||
this->OuputFile.c_str(),
|
this->OutputFile.c_str(),
|
||||||
this->CopyOnly,
|
this->CopyOnly,
|
||||||
this->AtOnly,
|
this->AtOnly,
|
||||||
this->EscapeQuotes);
|
this->EscapeQuotes);
|
||||||
|
|
|
@ -86,7 +86,7 @@ private:
|
||||||
int ConfigureFile();
|
int ConfigureFile();
|
||||||
|
|
||||||
std::string InputFile;
|
std::string InputFile;
|
||||||
std::string OuputFile;
|
std::string OutputFile;
|
||||||
bool CopyOnly;
|
bool CopyOnly;
|
||||||
bool EscapeQuotes;
|
bool EscapeQuotes;
|
||||||
bool Immediate;
|
bool Immediate;
|
||||||
|
|
Loading…
Reference in New Issue