| Index: scripts/bootstrap/frogsh_bootstrap_wrapper.py
|
| ===================================================================
|
| --- scripts/bootstrap/frogsh_bootstrap_wrapper.py (revision 1095)
|
| +++ scripts/bootstrap/frogsh_bootstrap_wrapper.py (working copy)
|
| @@ -6,7 +6,6 @@
|
| import sys
|
|
|
| HOME = os.path.dirname(os.path.realpath(__file__))
|
| -# TODO(ngeoffray): does not work on Windows.
|
| HOME = os.path.join(HOME, os.pardir, os.pardir)
|
|
|
| sys.path.append(HOME)
|
| @@ -18,14 +17,12 @@
|
| if index != -1:
|
| js_out = arg[9:len(arg)];
|
|
|
| - exit_code = 0
|
| - if js_out.find('Release') != -1:
|
| - exit_code = frog.main(args)
|
| - else:
|
| - shutil.copy(os.path.join(HOME, 'scripts', 'bootstrap', 'frog_wrapper.py'),
|
| - js_out)
|
| + # TODO(ngeoffray): Compile frogsh without checks integrated.
|
| + # if js_out.find('Release') != -1:
|
| + exit_code = frog.main(args)
|
| if exit_code:
|
| return exit_code
|
| +
|
| os.chmod(js_out, stat.S_IXUSR | stat.S_IXGRP | stat.S_IRUSR |
|
| stat.S_IRGRP | stat.S_IWUSR)
|
| return exit_code
|
|
|