erlware/relcool — pull request #53 by zerotao (2013-04-10 11:57:43+00:00)
Title: Remove bin/erl from the local ERTS copy before writing a the new version.

In some erlang distributions (e.g. brew) the ERTS files do not have
write permissions set. When this is the case the file:write_file will
fail with error 'eacces'.

This commit removes 'bin/erl' before attempting to write the new file.