--- a/em++ +++ b/em++ @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. # It also tells emcc.py that we want C++ and not C by default --- a/em++.py +++ b/em++.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. # It also tells emcc.py that we want C++ and not C by default --- a/emar +++ b/emar @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emar.py, which needs python 2. --- a/emcc +++ b/emcc @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. --- a/emcmake +++ b/emcmake @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emcmake.py, which needs python 2. --- a/emconfigure +++ b/emconfigure @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emconfigure.py, which needs python 2. --- a/emmake +++ b/emmake @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # This script should work in python 2 *or* 3. It loads emmake.py, which needs python 2. --- a/emranlib +++ b/emranlib @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 ''' emcc - ranlib helper script --- a/emrun +++ b/emrun @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # emrun: Implements machinery that allows running a .html page as if it was a standard executable file. # Usage: emrun filename.html --- a/system/bin/sdl-config +++ b/system/bin/sdl-config @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 from __future__ import print_function import sys --- a/system/bin/sdl2-config +++ b/system/bin/sdl2-config @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 from __future__ import print_function import sys --- a/tools/emprofile.py +++ b/tools/emprofile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 import sys, shutil, os, json, tempfile, time --- a/tools/ffdb.py +++ b/tools/ffdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 import socket, json, sys, uuid, datetime, time, logging, cgi, zipfile, os, tempfile, atexit, subprocess, re, base64, struct, imghdr