Prechádzať zdrojové kódy

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

Brad King 19 rokov pred
rodič
commit
45a44a70b3
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  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)
     for(const char* c = str; *c; ++c)
       {
       {
-      if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' ||
-         *c == '(' || *c == ')')
+      if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
         {
         {
         result += "\\";
         result += "\\";
         }
         }