Type || should have been &&

This commit is contained in:
Berk Geveci 2001-12-31 12:02:23 -05:00
parent d1fb9d757f
commit 0ac6b2d7a0
1 changed files with 1 additions and 1 deletions

View File

@ -1861,7 +1861,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
{ {
replace = command; replace = command;
m_Makefile->ExpandVariablesInString(replace); m_Makefile->ExpandVariablesInString(replace);
if(replace[0] != '-' || replace.find("echo") != 0 if(replace[0] != '-' && replace.find("echo") != 0
&& replace.find("$(MAKE)") != 0) && replace.find("$(MAKE)") != 0)
{ {
fout << "\t" << "echo " << replace.c_str() << "\n"; fout << "\t" << "echo " << replace.c_str() << "\n";