Commit dd403111 authored by Brad King's avatar Brad King
Browse files

BUG: When generating the name of the custom rule file the character : should...

BUG: When generating the name of the custom rule file the character : should be replaced with an underscore because it might be a non-file-name part of a path.
parent 04704792
......@@ -670,6 +670,7 @@ cmLocalUnixMakefileGenerator2
std::string customName = output;
cmSystemTools::ReplaceString(customName, "../", "___");
cmSystemTools::ReplaceString(customName, "/", "_");
cmSystemTools::ReplaceString(customName, ":", "_");
std::string ruleFileName = dir;
ruleFileName += "/";
ruleFileName += customName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment