BUG: Do not escape parens because we need to be able to reference make variables in the scripts.
This commit is contained in:
parent
2459ceb076
commit
45a44a70b3
@ -2257,8 +2257,7 @@ std::string cmLocalGenerator::EscapeForShell(const char* str)
|
|||||||
{
|
{
|
||||||
for(const char* c = str; *c; ++c)
|
for(const char* c = str; *c; ++c)
|
||||||
{
|
{
|
||||||
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' ||
|
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
|
||||||
*c == '(' || *c == ')')
|
|
||||||
{
|
{
|
||||||
result += "\\";
|
result += "\\";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user