Merge topic 'cmMakefile-comment-typos'
3853a6c
spell: fix a few typos in comments
This commit is contained in:
commit
907f1e2227
|
@ -2260,7 +2260,7 @@ bool cmMakefile::CanIWriteThisFile(const char* fileName)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// If we are doing an in-source build, than the test will always fail
|
// If we are doing an in-source build, then the test will always fail
|
||||||
if ( cmSystemTools::SameFile(this->GetHomeDirectory(),
|
if ( cmSystemTools::SameFile(this->GetHomeDirectory(),
|
||||||
this->GetHomeOutputDirectory()) )
|
this->GetHomeOutputDirectory()) )
|
||||||
{
|
{
|
||||||
|
@ -2271,8 +2271,8 @@ bool cmMakefile::CanIWriteThisFile(const char* fileName)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if this is subdirectory of the source tree but not a
|
// Check if this is a subdirectory of the source tree but not a
|
||||||
// subdirectory of a build tree
|
// subdirectory of the build tree
|
||||||
if ( cmSystemTools::IsSubDirectory(fileName,
|
if ( cmSystemTools::IsSubDirectory(fileName,
|
||||||
this->GetHomeDirectory()) &&
|
this->GetHomeDirectory()) &&
|
||||||
!cmSystemTools::IsSubDirectory(fileName,
|
!cmSystemTools::IsSubDirectory(fileName,
|
||||||
|
|
Loading…
Reference in New Issue