make, scripts: Now excplicitly calling python2 executable instead of python

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-01-02 13:12:00 +00:00
commit e68d4eb83b
11 changed files with 23 additions and 16 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python -u
#!/usr/bin/python2 -u
# -*- coding: iso-8859-15 -*-
from __future__ import print_function
@ -188,7 +188,7 @@ exclude=args.exclude.split()
proj_base=args.base
target=args.target
projects_py="/usr/bin/python " + my_dir + "/projects.py --prefix " + proj_base + " " + os.getenv('PROJECTS_PY_EXTRA_ARGS', "")
projects_py="/usr/bin/python2 " + my_dir + "/projects.py --prefix " + proj_base + " " + os.getenv('PROJECTS_PY_EXTRA_ARGS', "")
env_exclude=os.getenv('BUILD_EXCLUDE', '')
if len(env_exclude):