rename event watch binary

This commit is contained in:
Thomas Reynolds 2012-01-15 09:12:28 -08:00
parent ad0164ac76
commit 3e0ed70c69
6 changed files with 7 additions and 7 deletions

View file

@ -47,7 +47,7 @@ else
cc_bin = `which clang || which gcc`.to_s.strip!
compile_command = "CFLAGS='#{cflags.join(' ')} #{wflags.join(' ')}' #{cc_bin} #{cc_opts.join(' ')} -o '#{gem_root}/bin/fsevent_watch_guard' fsevent/fsevent_watch.c"
compile_command = "CFLAGS='#{cflags.join(' ')} #{wflags.join(' ')}' #{cc_bin} #{cc_opts.join(' ')} -o '#{gem_root}/bin/fsevent_watch_mm' fsevent/fsevent_watch.c"
STDERR.puts(compile_command)
@ -55,7 +55,7 @@ else
system "mkdir -p #{File.join(gem_root, 'bin')}"
system compile_command
unless File.executable?("#{gem_root}/bin/fsevent_watch_guard")
unless File.executable?("#{gem_root}/bin/fsevent_watch_mm")
raise "Compilation of fsevent_watch failed (see README)"
end
end