From a04fa127a805a1720430e06be8796d3d435161ff Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 9 Apr 2001 10:53:17 -0400 Subject: ERR: Missed one EscapeSpaces call. --- Source/cmUnixMakefileGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 068d85f..d751bac 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -430,7 +430,8 @@ void cmUnixMakefileGenerator::OutputCustomRules(std::ostream& fout) commandFiles.m_Outputs.begin(); output != commandFiles.m_Outputs.end(); ++output) { - fout << output->c_str() << ": " << source.c_str(); + std::string src = cmSystemTools::EscapeSpaces(source.c_str()); + fout << output->c_str() << ": " << src.c_str(); // Write out all the dependencies for this rule. for(std::set::const_iterator d = commandFiles.m_Depends.begin(); -- cgit v0.12