contrib/install-system-wide in rvm-1.0.2 vs contrib/install-system-wide in rvm-1.0.3
- old
+ new
@@ -19,10 +19,11 @@
echo "The rvm system wide installer is currently Linux only." >&2
exit 1
fi
# Load the rvm config.
-if [[ -z "$rvm_ignore_rvmrc" ]]; then
+rvm_ignore_rvmrc=${rvm_ignore_rvmrc:-0}
+if [[ $rvm_ignore_rvmrc -eq 0 ]]; then
[[ -s /etc/rvmrc ]] && source /etc/rvmrc
[[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc"
fi
rvm_path="${rvm_path:-"/usr/local/rvm"}"