diff options
author | Kyle Manna <kyle@kylemanna.com> | 2015-10-01 17:50:47 -0700 |
---|---|---|
committer | Kyle Manna <kyle@kylemanna.com> | 2015-10-01 19:09:39 -0700 |
commit | 8fcbff85420c84a1671929bf974830f25f3b1a6d (patch) | |
tree | 77ba0a76bade0fd5929d625c741fd5a6152a0eb2 | |
parent | d987bc2e9c995b12c5ae73fb73cbe0f26f092e18 (diff) | |
download | meson-8fcbff85420c84a1671929bf974830f25f3b1a6d.zip meson-8fcbff85420c84a1671929bf974830f25f3b1a6d.tar.gz meson-8fcbff85420c84a1671929bf974830f25f3b1a6d.tar.bz2 |
tests: Use /usr/bin/env python3
* Use the env variable to $PATH is searched instead of hardcoded
* Enables a local python build to take priority over system python build
as commonly used by tools like virtualenv.
4 files changed, 4 insertions, 4 deletions
diff --git a/test cases/common/56 custom target/my_compiler.py b/test cases/common/56 custom target/my_compiler.py index 3165cf8..43e7143 100755 --- a/test cases/common/56 custom target/my_compiler.py +++ b/test cases/common/56 custom target/my_compiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/57 custom target chain/my_compiler.py b/test cases/common/57 custom target chain/my_compiler.py index 3165cf8..43e7143 100755 --- a/test cases/common/57 custom target chain/my_compiler.py +++ b/test cases/common/57 custom target chain/my_compiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/57 custom target chain/my_compiler2.py b/test cases/common/57 custom target chain/my_compiler2.py index 8c767b1..22a4160 100755 --- a/test cases/common/57 custom target chain/my_compiler2.py +++ b/test cases/common/57 custom target chain/my_compiler2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/test cases/common/59 object generator/obj_generator.py b/test cases/common/59 object generator/obj_generator.py index 6f98f39..6960059 100755 --- a/test cases/common/59 object generator/obj_generator.py +++ b/test cases/common/59 object generator/obj_generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Mimic a binary that generates an object file (e.g. windres). |