From 174db67471d58266c693e7247922317febf372ff Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 27 Oct 2014 23:40:29 +0200 Subject: [PATCH] Do not hardcode path to Python3, because on e.g. OSX it can be anywhere. --- test cases/common/61 custom target source output/generator.py | 2 +- test cases/common/64 custom header generator/makeheader.py | 2 +- test cases/common/65 multiple generators/mygen.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test cases/common/61 custom target source output/generator.py b/test cases/common/61 custom target source output/generator.py index 57590bc4a..4bf5c8432 100755 --- a/test cases/common/61 custom target source output/generator.py +++ b/test cases/common/61 custom target source output/generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys, os diff --git a/test cases/common/64 custom header generator/makeheader.py b/test cases/common/64 custom header generator/makeheader.py index 5b175b5e0..9ef2bd5f0 100644 --- a/test cases/common/64 custom header generator/makeheader.py +++ b/test cases/common/64 custom header generator/makeheader.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # NOTE: this file does not have the executable bit set. This tests that # Meson can automatically parse shebang lines. diff --git a/test cases/common/65 multiple generators/mygen.py b/test cases/common/65 multiple generators/mygen.py index 06fe0321b..cd786ead1 100755 --- a/test cases/common/65 multiple generators/mygen.py +++ b/test cases/common/65 multiple generators/mygen.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys, os @@ -16,4 +16,4 @@ open(outhdr, 'w').write('int func%s();\n' % val) open(outsrc, 'w').write('''int func%s() { return 0; } -''' % val) \ No newline at end of file +''' % val)