Use sys.executable instead of "python"
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 22 Feb 2018 01:22:46 +0000 (17:22 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 14 Mar 2018 08:12:12 +0000 (04:12 -0400)
commita2ac82db1ab2884fd060e773ff8e1bdcded5e801
treec75d56044e9c506045c92ef14356875d9a69bae6
parentf1ee9253e64f7434cdba7c8ac048c0e9baccc133
Use sys.executable instead of "python"

When Python scripts call other python scripts, prefer using whatever
interpreter was used for the topmost call instead of "python". In some
environments "python" is already pointing to a Python 3 interpreter.

Components: Framework

Change-Id: Ifba9b2965901ffcf9c1897ccabe5fa183f359707
scripts/check_build_sanity.py
scripts/make_release.py