summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py2
-rw-r--r--misc/ninja_syntax.py2
-rwxr-xr-xmisc/ninja_test.py2
-rw-r--r--src/browse.cc2
-rwxr-xr-xsrc/browse.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/configure.py b/configure.py
index 8c0592d..e31387e 100755
--- a/configure.py
+++ b/configure.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
#
# Copyright 2001 Google Inc. All Rights Reserved.
#
diff --git a/misc/ninja_syntax.py b/misc/ninja_syntax.py
index 4a1653f..6e8a87c 100644
--- a/misc/ninja_syntax.py
+++ b/misc/ninja_syntax.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/python
"""Python module for generating .ninja files.
diff --git a/misc/ninja_test.py b/misc/ninja_test.py
index ba9e1e1..762fe16 100755
--- a/misc/ninja_test.py
+++ b/misc/ninja_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
# Copyright 2011 Google Inc. All Rights Reserved.
#
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.
#