basho/webmachine — pull request #193 by srenatus (2014-02-24 07:47:49+00:00)
Title: Fix rebar.config.script for Erlang/OTP 17(rc1)

Beginning from R17, what is returned by `erlang`s `system_info(otp_release)` no longer follows the old schema but simply returns `"17"`. This makes the `rebar.config.script` check for the version turn _on_ `old_hash`, which really is not what we want. :)

This change works around this issue (while I'm not sure if it's the most beautiful way to do that) by checking for the string length first.

More details on the recent version number decisions: https://groups.google.com/d/msg/erlang-programming/C--8S_0bPME/1tIq4jn118gJ