Discard the extra node binary.

We now use atom-shell's binary to execute scripts.
This commit is contained in:
Cheng Zhao 2013-08-08 16:24:27 +08:00
parent 574811fee0
commit 317bd0debf
6 changed files with 1 additions and 117 deletions

View file

@ -14,10 +14,9 @@ def main():
input_file = sys.argv[1]
output_dir = os.path.dirname(sys.argv[2])
node = get_node_path()
coffee = os.path.join(SOURCE_ROOT, 'node_modules', 'coffee-script', 'bin',
'coffee')
subprocess.check_call([node, coffee, '-c', '-o', output_dir, input_file])
subprocess.check_call(['node', coffee, '-c', '-o', output_dir, input_file])
if __name__ == '__main__':