Skip to content
Browse files

fix local arrays in trusting

  • Loading branch information...
1 parent bc9b7d9 commit 8e23a3d4d03f505d56fe8b7ea3ccae020ac7ca01 @mpapis mpapis committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/functions/rvmrc
View
4 scripts/functions/rvmrc
@@ -150,9 +150,9 @@ __rvm_check_rvmrc_trustworthiness()
# Trust when they have the flag... of doom!
if [[ -n "$1" && ${rvm_trust_rvmrcs_flag:-0} -eq 0 ]]
then
- local saveIFS=$IFS
+ local saveIFS=$IFS trust
IFS=$';'
- local trust=($(__rvm_rvmrc_stored_trust "$1"))
+ trust=( $( __rvm_rvmrc_stored_trust "$1" ) )
IFS=$saveIFS
if [[ -z "${trust[1]}" ]] || [[ "${trust[1]}" != "$(__rvm_md5_for_contents "$1")" ]]

0 comments on commit 8e23a3d

Please sign in to comment.
Something went wrong with that request. Please try again.