Run sed without the -E flag in fix_jruby_shebangs. (GNU sed version 4.1.5 on CentOS 5.8 does not support the -E flag)

JRuby installations with ruby-build on CentOS 5.8 are failing for me with the recent fix_jruby_shebangs changes to ruby-build. GNU sed version 4.1.5 on CentOS 5.8 does not support the -E flag:

$ sed -E
sed: invalid option -- E

sed can be run without the -E flag in fix_jruby_shebangs so it works with GNU sed version 4.1.5 on CentOS 5.8.