From 0ac6b2d7a034d306ba5fde56ec6bdd5cf54aa0b8 Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Mon, 31 Dec 2001 12:02:23 -0500 Subject: [PATCH] Type || should have been && --- Source/cmUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index e695db031..b932793fc 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -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";