diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-28 02:02:06 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-28 02:02:06 +0530 |
commit | 534ee8baa8b807b2adf52937a4672897f1a6d8cb (patch) | |
tree | b49d03b6f0e4a5b508e79f7893cfe406f9f3726a /run_unittests.py | |
parent | 626bdd183630e7b2cd15529f88ccb394054d713d (diff) | |
download | meson-534ee8baa8b807b2adf52937a4672897f1a6d8cb.zip meson-534ee8baa8b807b2adf52937a4672897f1a6d8cb.tar.gz meson-534ee8baa8b807b2adf52937a4672897f1a6d8cb.tar.bz2 |
find_program: Translate 'python3' to sys.executable on Windows
While reading shebangs, when we detect an attempt to run 'python3', use
sys.executable instead. For example:
#!/usr/bin/python3
#!python3
#!/usr/bin/env python3
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions