scripts/utility in rvm-1.0.22 vs scripts/utility in rvm-1.0.23
- old
+ new
@@ -1028,11 +1028,11 @@
\mkdir -p "$rvm_path/environments"
printf "export PATH=\"${rvm_ruby_gem_home}/bin:${rvm_ruby_global_gems_path}/bin:${rvm_ruby_home}/bin:${rvm_bin_path:-"$rvm_path/bin"}:\$PATH\"\n" \
> "$file_name"
- for variable in rvm_path RUBY_VERSION GEM_HOME GEM_PATH BUNDLE_PATH \
+ for variable in rvm_path RUBY_VERSION GEM_HOME GEM_PATH \
MY_RUBY_HOME IRBRC rvm_ruby_string rvm_gemset_name MAGLEV_HOME ; do
eval "export $variable"
eval "value=\${${variable}:-""}"
@@ -1221,11 +1221,11 @@
else
echo "The trustiworthiness of '$rvmrc_path' is currently unknown."
fi
;;
load)
- rvm_rvmrc_cwd="" rvm_trust_rvmrcs=1 \
+ rvm_rvmrc_cwd="" rvm_trust_rvmrcs_flag=1 \
__rvm_project_rvmrc "$(dirname "$rvmrc_path")"
;;
*)
echo "Usage: rvm rvmrc {trust,untrust,trusted,load,reset}"
return 1
@@ -1235,10 +1235,10 @@
}
__rvm_check_rvmrc_trustworthiness()
{
# Trust when they have the flag... of doom!
- [[ -z "$1" || "$rvm_trust_rvmrcs" = "1" ]] && return 0
+ [[ -z "$1" || "$rvm_trust_rvmrcs_flag" = "1" ]] && return 0
value="$(__rvm_rvmrc_stored_trust "$1")"
if [[ -z "$value" ]] ; then
__rvm_ask_to_trust "$1"
else
[[ "$value" = "1" ]]