summaryrefslogtreecommitdiffstats
path: root/src/browse.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-11-22 01:21:31 (GMT)
committerEvan Martin <martine@danga.com>2011-11-22 01:21:31 (GMT)
commit38ab41f45ff818b437942b753328a0168914fc86 (patch)
treefcfdefa36a696ada9684dea59f3a72286aab250e /src/browse.cc
parent819d6347b424f583d651b86dd1280605ddb23b88 (diff)
parent209d85b9fac5ebaef63dd952ec3b4f79144f6f52 (diff)
downloadNinja-38ab41f45ff818b437942b753328a0168914fc86.zip
Ninja-38ab41f45ff818b437942b753328a0168914fc86.tar.gz
Ninja-38ab41f45ff818b437942b753328a0168914fc86.tar.bz2
Merge pull request #143 from cipriancraciun/patches/python2
Rename all occurences of `python` to `python2`
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 2e74206..64a6bcb 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[] = {
- "python", "-", ninja_command, initial_target, NULL
+ "python2", "-", ninja_command, initial_target, NULL
};
execvp(command[0], (char**)command);
perror("ninja: execvp");