Permalink
Browse files

Added rvm_always_trust_rvmrc_flag to examples.

  • Loading branch information...
1 parent 3bcc697 commit 7618dc2fc13b286f55a6cd2d587caa8b16d0d712 @wayneeseguin wayneeseguin committed Jan 13, 2011
Showing with 6 additions and 1 deletion.
  1. +5 −0 examples/rvmrc
  2. +1 −1 scripts/utility
View
@@ -47,3 +47,8 @@
# Automatically trust project .rvmrc files
# export rvm_trust_rvmrcs_flag=1
+
+# Always trust an rvmrc, even if it's contents change.
+# CAUTION: Can be dangerous / security risk. Only use this feature if you know
+# what you are doing / accept the implications :)
+# export rvm_always_trust_rvmrc_flag
View
@@ -1245,7 +1245,7 @@ __rvm_md5_for()
__rvm_rvmrc_key()
{
- if [[ ${rvm_always_trust_rvmrc:-0} -eq 1 ]]; then
+ if [[ ${rvm_always_trust_rvmrc_flag:-0} -eq 1 ]]; then
printf "$1"
else
__rvm_md5_for "$1"

0 comments on commit 7618dc2

Please sign in to comment.