Permalink
Browse files

Bugfix: Libraries output no longer occurs when rvm is sourced.

  • Loading branch information...
1 parent 16ec854 commit a0b90f11dd8985050ca50669c025deff505b0124 @wayneeseguin wayneeseguin committed Feb 26, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 scripts/rvm
View
@@ -12,9 +12,9 @@ if [[ "$rvm_loaded_flag" != "1" ]] || [[ "$rvm_reload_flag" = "1" ]] ; then
if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi
if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi
- if [[ -z "$rvm_prefix" ]] ; then
+ if [[ -z "$rvm_prefix" ]] ; then
if [[ "root" = "$(whoami)" ]] ; then
- rvm_prefix="/usr/local"
+ rvm_prefix="/usr/local"
else
rvm_prefix="$HOME"
fi
@@ -56,7 +56,6 @@ if [[ "$rvm_loaded_flag" != "1" ]] || [[ "$rvm_reload_flag" = "1" ]] ; then
source $rvm_scripts_path/version
source $rvm_scripts_path/selector
source $rvm_scripts_path/cli
- source $rvm_scripts_path/libraries
source $rvm_scripts_path/cd
rvm_loaded_flag=1

0 comments on commit a0b90f1

Please sign in to comment.