scripts/rubygems in rvm-1.1.0 vs scripts/rubygems in rvm-1.1.1
- old
+ new
@@ -10,10 +10,10 @@
{
__rvm_warn_on_rubyopt
unset RUBYOPT
- if [[ ! -z "$(echo "$rvm_ruby_version" | awk '/^1\.9/')" ]] || [[ ! -z "$(echo $rvm_ruby_interpreter | awk '/^mput/')" ]] ; then
+ if [[ -n "$(echo "$rvm_ruby_version" | awk '/^1\.9/')" ]] ; then
install=0
elif [[ "$rvm_ruby_string" = "ruby-head" ]] ; then
install=0
elif [[ -n "$(echo "$rvm_ruby_string" | awk '/^rbx|jruby|rubinius/')" ]]; then
install=0