summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmUnixMakefileGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 071f943..a41e00c 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -1875,7 +1875,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
if(replace[0] != '-' && replace.find("echo") != 0
&& replace.find("$(MAKE)") != 0)
{
- fout << "\t" << "echo " << replace.c_str() << "\n";
+ fout << "\t" << "echo \"" << replace.c_str() << "\"\n";
}
fout << "\t" << replace.c_str() << "\n";
}
@@ -1886,7 +1886,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
if(replace[0] != '-' && replace.find("echo") != 0
&& replace.find("$(MAKE)") != 0)
{
- fout << "\t" << "echo " << replace.c_str() << "\n";
+ fout << "\t" << "echo \"" << replace.c_str() << "\"\n";
}
fout << "\t" << replace.c_str() << "\n";
}
@@ -1897,7 +1897,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
if(replace[0] != '-' && replace.find("echo") != 0
&& replace.find("$(MAKE)") != 0)
{
- fout << "\t" << "echo " << replace.c_str() << "\n";
+ fout << "\t" << "echo \"" << replace.c_str() << "\"\n";
}
fout << "\t" << replace.c_str() << "\n";
}
@@ -1908,7 +1908,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
if(replace[0] != '-' && replace.find("echo") != 0
&& replace.find("$(MAKE)") != 0)
{
- fout << "\t" << "echo " << replace.c_str() << "\n";
+ fout << "\t" << "echo \"" << replace.c_str() << "\"\n";
}
fout << "\t" << replace.c_str() << "\n";
}