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.
This commit is contained in:
parent
047047924d
commit
dd4031114a
|
@ -670,6 +670,7 @@ cmLocalUnixMakefileGenerator2
|
||||||
std::string customName = output;
|
std::string customName = output;
|
||||||
cmSystemTools::ReplaceString(customName, "../", "___");
|
cmSystemTools::ReplaceString(customName, "../", "___");
|
||||||
cmSystemTools::ReplaceString(customName, "/", "_");
|
cmSystemTools::ReplaceString(customName, "/", "_");
|
||||||
|
cmSystemTools::ReplaceString(customName, ":", "_");
|
||||||
std::string ruleFileName = dir;
|
std::string ruleFileName = dir;
|
||||||
ruleFileName += "/";
|
ruleFileName += "/";
|
||||||
ruleFileName += customName;
|
ruleFileName += customName;
|
||||||
|
|
Loading…
Reference in New Issue