diff options
author | wm4 <wm4@nowhere> | 2012-09-29 16:22:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-09-29 16:22:01 +0200 |
commit | 6fb0e6bf1c8312555cc8e29ef3513e0dc5a848fe (patch) | |
tree | 84512234b746775ecd8b725c3ecaf38a8d1ce7d4 | |
parent | 0ee09dcdbecc115531ee4fbfa534bcb654b5cbf6 (diff) | |
download | mpv-6fb0e6bf1c8312555cc8e29ef3513e0dc5a848fe.tar.bz2 mpv-6fb0e6bf1c8312555cc8e29ef3513e0dc5a848fe.tar.xz |
build: use "python" instead of "python3" as interpreter name
This works regardless whether "python" starts a Python 2 or Python 3
interpreter.
-rwxr-xr-x | TOOLS/file2string.py | 2 | ||||
-rwxr-xr-x | TOOLS/matroska.py | 2 | ||||
-rwxr-xr-x | TOOLS/vdpau_functions.py | 2 | ||||
-rwxr-xr-x | configure | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/TOOLS/file2string.py b/TOOLS/file2string.py index 35c89cb731..6cdd1a72ae 100755 --- a/TOOLS/file2string.py +++ b/TOOLS/file2string.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Convert the contents of a file into a C string constant. # Note that the compiler will implicitly add an extra 0 byte at the end diff --git a/TOOLS/matroska.py b/TOOLS/matroska.py index ab5684f1ed..4a672690b6 100755 --- a/TOOLS/matroska.py +++ b/TOOLS/matroska.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python """ Generate C definitions for parsing Matroska files. Can also be used to directly parse Matroska files and display their contents. diff --git a/TOOLS/vdpau_functions.py b/TOOLS/vdpau_functions.py index 39e38a8bbe..85e6f1d942 100755 --- a/TOOLS/vdpau_functions.py +++ b/TOOLS/vdpau_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Generate vdpau_template.c @@ -1019,8 +1019,8 @@ echocheck "working compiler" cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ." echo "yes" -echocheck "python3" -command_check python3 -c '' || die "Python 3 is not functioning correctly. Check your installation and PATH." +echocheck "python" +command_check python -c '' || die "Python is not functioning correctly. Check your installation and PATH." echo yes if test -z "$_target" && x86 ; then |