diff options
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -391,7 +391,8 @@ get_otp_version() get_perl_version() { if assert_perl; then - perl -v | grep version | sed $SED_OPT -e 's/.*v5\.([0-9]+)\.[0-9].*/\1/' + # This is really evil but it's portable and it works. Don't @ me bro + perl -e 'print int(($] - 5)*1000)' else echo "FATAL: I couldn't find perl which is required to compile Erlang." exit 1 |