Type || should have been &&
This commit is contained in:
parent
d1fb9d757f
commit
0ac6b2d7a0
|
@ -1861,7 +1861,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
|
|||
{
|
||||
replace = command;
|
||||
m_Makefile->ExpandVariablesInString(replace);
|
||||
if(replace[0] != '-' || replace.find("echo") != 0
|
||||
if(replace[0] != '-' && replace.find("echo") != 0
|
||||
&& replace.find("$(MAKE)") != 0)
|
||||
{
|
||||
fout << "\t" << "echo " << replace.c_str() << "\n";
|
||||
|
|
Loading…
Reference in New Issue