elixir-lang/elixir — pull request #1295 by ToJans (2013-06-20 09:50:13+00:00)
Title: Fix the rebar wrapper on windows

System.find_executable for rebar returns a rebar.cmd file, which should not
be wrapped by escript. We now have an extra check that verifies whether the
invoked file is indeed a cmd file.