diff options
author | Evan Martin <martine@danga.com> | 2011-12-27 20:15:32 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-27 20:15:32 (GMT) |
commit | 67a2c3c58f74701d52c3a95fdbcedd30461e9908 (patch) | |
tree | b270156db982e107be654c6f36ab3f61ffe3f32b /src | |
parent | cfb7dc6a2c0b95d218a728cbcee8bf17951f381f (diff) | |
parent | 075847031b6cf7b9de3bb7c42648a74d168a752b (diff) | |
download | Ninja-67a2c3c58f74701d52c3a95fdbcedd30461e9908.zip Ninja-67a2c3c58f74701d52c3a95fdbcedd30461e9908.tar.gz Ninja-67a2c3c58f74701d52c3a95fdbcedd30461e9908.tar.bz2 |
Merge branch 'master' of git://github.com/ehird/ninja
Diffstat (limited to 'src')
-rw-r--r-- | src/browse.cc | 2 | ||||
-rwxr-xr-x | src/browse.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/browse.cc b/src/browse.cc index bab3f36..83bfe43 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 + NINJA_PYTHON, "-", ninja_command, initial_target, NULL }; execvp(command[0], (char**)command); perror("ninja: execvp"); diff --git a/src/browse.py b/src/browse.py index 9901adc..ca95197 100755 --- a/src/browse.py +++ b/src/browse.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright 2001 Google Inc. All Rights Reserved. # |