aboutsummaryrefslogtreecommitdiff
path: root/ninja.cc
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-03-15 08:27:43 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2016-03-15 08:35:45 +0900
commitc3a483478a6a38caf174c1a439dda6e0c91a0cd6 (patch)
tree1997f6e387655eaa1ef536962982b1e42e82f6c8 /ninja.cc
parentf3ad9e0cec73953592df5143d16d880595c7bc6e (diff)
Use subshell even when a command starts with '('
Diffstat (limited to 'ninja.cc')
-rw-r--r--ninja.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/ninja.cc b/ninja.cc
index 6b1a778..41e5db4 100644
--- a/ninja.cc
+++ b/ninja.cc
@@ -426,9 +426,6 @@ class NinjaGenerator {
in++;
bool needs_subshell = command_count > 1;
- if (*in == '(') {
- needs_subshell = false;
- }
if (needs_subshell)
*cmd_buf += '(';