Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
Damn I suck... no more lisp and ruby at the same time. brain gone
Browse files Browse the repository at this point in the history
  • Loading branch information
zenspider authored and Sutto committed Feb 8, 2011
1 parent 1dce548 commit f055c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/cli
Expand Up @@ -646,7 +646,7 @@ rvm()
fi

# Check that this is the current version.
disk_version="$(grep VERSION "$rvm_path/lib/VERSION.yml" | cut -f 2 -d\")"
disk_version="$(grep VERSION "$rvm_path/lib/rvm.rb" | cut -f 2 -d\")"
disk_version="${disk_version/%.}"

if [[ $# -gt 0 ]] ; then next_token="$1" ; shift ; else next_token="" ; fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/rvm
Expand Up @@ -103,7 +103,7 @@ if ! declare -f rvm > /dev/null || [[ ${rvm_reload_flag:-0} -eq 1 ]] ; then
fi
done

rvm_version="$(grep VERSION "$rvm_path/lib/VERSION.yml" | cut -f 2 -d\")"
rvm_version="$(grep VERSION "$rvm_path/lib/rvm.rb" | cut -f 2 -d\")"

export rvm_version="${rvm_version/%.}"

Expand Down

0 comments on commit f055c59

Please sign in to comment.