diff options
author | Brad King <brad.king@kitware.com> | 2006-09-21 19:30:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-21 19:30:06 (GMT) |
commit | 45a44a70b35ae2b173f0e0c987692ebd520dd885 (patch) | |
tree | 91360416e043efc2538c90bad0641aaafa4197af | |
parent | 2459ceb076d7788f7512ef4a2f68e81c43bc271d (diff) | |
download | CMake-45a44a70b35ae2b173f0e0c987692ebd520dd885.zip CMake-45a44a70b35ae2b173f0e0c987692ebd520dd885.tar.gz CMake-45a44a70b35ae2b173f0e0c987692ebd520dd885.tar.bz2 |
BUG: Do not escape parens because we need to be able to reference make variables in the scripts.
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 01d08ec..93dd422 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 += "\\"; } |