summaryrefslogtreecommitdiffstats
path: root/src/browse.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-11-25 07:30:19 (GMT)
committerEvan Martin <martine@danga.com>2011-11-25 07:30:19 (GMT)
commitf20e002eea38ef42d2a0de40a951d1ffb4eb2fa6 (patch)
tree19e4088bc572f3cf93d2729bb9c52a1689619a04 /src/browse.cc
parent38ab41f45ff818b437942b753328a0168914fc86 (diff)
downloadNinja-f20e002eea38ef42d2a0de40a951d1ffb4eb2fa6.zip
Ninja-f20e002eea38ef42d2a0de40a951d1ffb4eb2fa6.tar.gz
Ninja-f20e002eea38ef42d2a0de40a951d1ffb4eb2fa6.tar.bz2
Revert "Merge pull request #143 from cipriancraciun/patches/python2"
This reverts commit 38ab41f45ff818b437942b753328a0168914fc86, reversing changes made to 819d6347b424f583d651b86dd1280605ddb23b88. Platforms that don't have /usr/bin/python pointing to python2 are broken.
Diffstat (limited to 'src/browse.cc')
-rw-r--r--src/browse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browse.cc b/src/browse.cc
index 64a6bcb..2e74206 100644
--- a/src/browse.cc
+++ b/src/browse.cc
@@ -46,7 +46,7 @@ void RunBrowsePython(State* /* state */, const char* ninja_command,
// exec Python, telling it to run the program from stdin.
const char* command[] = {
- "python2", "-", ninja_command, initial_target, NULL
+ "python", "-", ninja_command, initial_target, NULL
};
execvp(command[0], (char**)command);
perror("ninja: execvp");