BUG: Do not escape parens because we need to be able to reference make variables in the scripts.

This commit is contained in:
Brad King 2006-09-21 15:30:06 -04:00
parent 2459ceb076
commit 45a44a70b3
1 changed files with 1 additions and 2 deletions

View File

@ -2257,8 +2257,7 @@ std::string cmLocalGenerator::EscapeForShell(const char* str)
{
for(const char* c = str; *c; ++c)
{
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' ||
*c == '(' || *c == ')')
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
{
result += "\\";
}