diff options
author | Evan Martin <martine@danga.com> | 2011-11-25 07:30:19 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-11-25 07:30:19 (GMT) |
commit | f20e002eea38ef42d2a0de40a951d1ffb4eb2fa6 (patch) | |
tree | 19e4088bc572f3cf93d2729bb9c52a1689619a04 /src | |
parent | 38ab41f45ff818b437942b753328a0168914fc86 (diff) | |
download | Ninja-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')
-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 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"); diff --git a/src/browse.py b/src/browse.py index 97f95a5..9901adc 100755 --- a/src/browse.py +++ b/src/browse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/python # # Copyright 2001 Google Inc. All Rights Reserved. # |