Permalink
Browse files

Added default value for rvm_path.

  • Loading branch information...
1 parent 2b48904 commit 1ea6ca64144f8571443fe1249f41711e4de92ab7 @wayneeseguin wayneeseguin committed Mar 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 contrib/install-system-wide
@@ -236,8 +236,8 @@ cat > "$rvm_parent_dir/lib/rvm" <<END_OF_RVM_SH
# Automatically source rvm
if [[ -s "\$HOME/.rvm/scripts/rvm" ]]; then
source "\$HOME/.rvm/scripts/rvm"
-elif [[ -s "${rvm_path}/scripts/rvm" ]]; then
- source "${rvm_path}/scripts/rvm"
+elif [[ -s "${rvm_path:=/usr/local/rvm}/scripts/rvm" ]]; then
+ source "${rvm_path:=/usr/local/rvm}/scripts/rvm"
fi
END_OF_RVM_SH

0 comments on commit 1ea6ca6

Please sign in to comment.