bash/rvm in rvm-0.0.20 vs bash/rvm in rvm-0.0.21
- old
+ new
@@ -1,11 +1,11 @@
#!/bin/bash
rvm_author="Wayne E. Seguin"
rvm_author_email="wayneeseguin@gmail.com"
rvm_website="http://rvm.beginrescueend.com/"
-rvm_version="0.0.20"
+rvm_version="0.0.21"
rvm_updated="2009.08.25"
#
# License: See LICENSE
#
@@ -224,13 +224,11 @@
done
}
function rvm-install-ruby {
- local ruby_options
- ruby_options=RUBYOPT
- unset RUBYOPT
+ ruby_options=$RUBYOPT ; unset RUBYOPT
case "$implementation" in
ree)
version=${version-1.8.6}
@@ -326,11 +324,11 @@
;;
*) rvm-log-fail "Ruby implementation '$implementation' is not known."
esac
- if [ ! -z $ruby_options ] ; then
- RUBYOPT="$ruby_options" ; export RUBYOPT
+ if [ ! -z "$ruby_options" ] ; then
+ RUBYOPT=$ruby_options ; export RUBYOPT
fi
}
function rvm-uninstall {