From: Cheng Zhao Date: Mon, 1 Jul 2013 10:04:15 +0000 (+0800) Subject: Fix calling compile-coffee under cygwin. X-Git-Tag: v0.1.0~63 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ec5fc10bd9d79612e6649855dc4d3afa44d6a2c8;p=electron.git Fix calling compile-coffee under cygwin. --- diff --git a/script/compile-coffee.py b/script/compile-coffee.py index 35642c90..24e7dcfd 100755 --- a/script/compile-coffee.py +++ b/script/compile-coffee.py @@ -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])