contrib/install-system-wide in rvm-0.1.44 vs contrib/install-system-wide in rvm-0.1.45

- old
+ new

@@ -17,18 +17,18 @@ [[ -s /etc/rvmrc ]] && source /etc/rvmrc [[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc" fi rvm_path="${rvm_path:-"/usr/local/rvm"}" -export rvm_sandboxed=0 +export rvm_selfcontained=0 mkdir -p "$rvm_path/src/" builtin cd "$rvm_path/src" rm -rf ./rvm/ -git clone --depth 1 git://github.com/wayneeseguin/rvm.git +git clone --depth 1 git://github.com/wayneeseguin/rvm.git || git clone http://github.com/wayneeseguin/rvm.git builtin cd rvm echo "Running the install script." bash ./scripts/install "$@" @@ -54,11 +54,11 @@ rm -f /etc/rvmrc touch /etc/rvmrc cat > /etc/rvmrc <<END_OF_RVMRC # Setup default configuration for rvm. umask g+w -export rvm_sandboxed=0 -export rvm_prefix="/usr/local" +export rvm_selfcontained=0 +export rvm_prefix="/usr/local/" END_OF_RVMRC echo "Generating /usr/local/lib/rvm to load rvm" rm -f /usr/local/lib/rvm touch /usr/local/lib/rvm