Browse Source

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

Brad King 19 years ago
parent
commit
45a44a70b3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/cmLocalGenerator.cxx

+ 1 - 2
Source/cmLocalGenerator.cxx

@@ -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 += "\\";
         }