diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-09 16:48:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-09 16:48:05 -0700 |
commit | ae236b288c46dab914a137670e9366e0b0cc4c09 (patch) | |
tree | cbd243b152fbfd1b0581c933f35e0c728b61d3c7 /em++ | |
parent | 852bfa71be2246d74f3c7ca456321b174ff2d6d9 (diff) |
warn in em++ if PYTHON is not defined properly
Diffstat (limited to 'em++')
-rwxr-xr-x | em++ | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,5 +8,7 @@ import os, subprocess, sys from tools import shared os.environ['EMMAKEN_CXX'] = '1' +if not os.path.exists(shared.PYTHON): + print >> sys.stderr, 'warning: PYTHON does not seem to be defined properly in ~/.emscripten (%s)' % shared.PYTHON exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:])) |