diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-01 11:42:19 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-01 11:42:19 -0700 |
commit | 3f554a5321867cf61588a111c80048399269f3ad (patch) | |
tree | beb34a32355e6bedd56646eec2236f081ae1acd2 /tools | |
parent | 4e0abd190f62c3593ca130f684b5aa6d0e87e69b (diff) | |
parent | ac20257d788dcecf991df2caa964008dc9a047c3 (diff) |
Merge pull request #1117 from rib/wip/cogl
Enable simple Cogl based apps by fixing some SDL_GL_GetProcAddress issues
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 09277d06..25c17688 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -124,7 +124,8 @@ else: config_file = config_file.replace('{{{ NODE }}}', node) python = 'python' try: - python = Popen(['which', 'python'], stdout=PIPE).communicate()[0].replace('\n', '') + python = Popen(['which', 'python2'], stdout=PIPE).communicate()[0].replace('\n', '') or \ + Popen(['which', 'python'], stdout=PIPE).communicate()[0].replace('\n', '') or python except: pass config_file = config_file.replace('{{{ PYTHON }}}', python) |