]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix calling compile-coffee under cygwin.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:04:15 +0000 (18:04 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:04:15 +0000 (18:04 +0800)
script/compile-coffee.py

index 35642c90e544346ad97bdf331b54440154f5ad35..24e7dcfd9b8eedbee4250c4bddf37c6734ab876c 100755 (executable)
@@ -15,7 +15,8 @@ def main():
   output_dir = os.path.dirname(sys.argv[2])
 
   node = get_node_path()
-  coffee = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'coffee')
+  coffee = os.path.join(SOURCE_ROOT, 'node_modules', 'coffee-script', 'bin',
+                        'coffee')
   subprocess.check_call([node, coffee, '-c', '-o', output_dir, input_file])