From 45a44a70b35ae2b173f0e0c987692ebd520dd885 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 21 Sep 2006 15:30:06 -0400 Subject: [PATCH] BUG: Do not escape parens because we need to be able to reference make variables in the scripts. --- Source/cmLocalGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 01d08ec78..93dd422db 100644 --- a/Source/cmLocalGenerator.cxx +++ b/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 += "\\"; }