diff options
author | Alan Kligman <alan.kligman@gmail.com> | 2012-12-01 18:31:36 -0500 |
---|---|---|
committer | Alan Kligman <alan.kligman@gmail.com> | 2012-12-19 18:06:48 -0500 |
commit | 315f13e5a1b35e23241da080f0df16e80ece88ae (patch) | |
tree | ed8d07eb649011f9b10b6f3a749073c37b033aca /em++ | |
parent | 1c796635aa711764d18a47577d5e94ead309506c (diff) |
Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK.
Diffstat (limited to 'em++')
-rwxr-xr-x | em++ | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ''' See emcc.py. This script forwards to there, noting that we want C++ and not C by default @@ -8,5 +8,5 @@ import os, subprocess, sys from tools import shared os.environ['EMMAKEN_CXX'] = '1' -exit(subprocess.call(['python', shared.EMCC] + sys.argv[1:])) +exit(subprocess.call(['python2', shared.EMCC] + sys.argv[1:])) |