Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (11 sloc) 404 Bytes
#!/usr/bin/python
import os
import subprocess
import sys
SCONS_VERSION=os.environ.get('SCONS_VERSION', "2.4.0")
scons_dir = os.path.join(os.path.dirname(__file__), 'scons-' + SCONS_VERSION)
if sys.platform == 'win32':
args = [sys.executable, os.path.join(scons_dir, 'scons.py')] + sys.argv[1:]
sys.exit(subprocess.call(args))
else:
os.execv(os.path.join(scons_dir, 'scons.py'), sys.argv)