summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-12-31 17:02:23 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-12-31 17:02:23 (GMT)
commit0ac6b2d7a034d306ba5fde56ec6bdd5cf54aa0b8 (patch)
tree3273c45dde7d57a912498eb27cbfb7394f6ae478 /Source/cmUnixMakefileGenerator.cxx
parentd1fb9d757f8a3f6d721c516ba3ac2e2ec92d9be1 (diff)
downloadCMake-0ac6b2d7a034d306ba5fde56ec6bdd5cf54aa0b8.zip
CMake-0ac6b2d7a034d306ba5fde56ec6bdd5cf54aa0b8.tar.gz
CMake-0ac6b2d7a034d306ba5fde56ec6bdd5cf54aa0b8.tar.bz2
Type || should have been &&
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index e695db0..b932793 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";