Permalink
Browse files

Missed a rename with last commit.

  • Loading branch information...
1 parent 06c1ece commit c01739f2ce2216dbef0d8d95a100ea4bfde96365 @wayneeseguin wayneeseguin committed Dec 11, 2009
Showing with 8 additions and 8 deletions.
  1. +8 −8 scripts/gems
View
@@ -246,21 +246,21 @@ fi
action="$1" ; shift
-if [[ "load" = "$1" ]] ; then
+if [[ "load" = "$action" ]] ; then
__rvm_gems_load
-elif [[ "dump" = "$1" ]] ; then
+elif [[ "dump" = "$action" ]] ; then
__rvm_gems_dump
-elif [[ "delete" = "$1" ]] ; then
+elif [[ "delete" = "$action" ]] ; then
__rvm_gems_delete
-elif [[ "name" = "$1" ]] ; then
+elif [[ "name" = "$action" ]] ; then
__rvm_gems_name
-elif [[ "dir" = "$1" ]] ; then
+elif [[ "dir" = "$action" ]] ; then
__rvm_gems_dir
-elif [[ "list" = "$1" ]] ; then
+elif [[ "list" = "$action" ]] ; then
__rvm_gems_list
-elif [[ "gemdir" = "$1" ]] ; then
+elif [[ "gemdir" = "$action" ]] ; then
__rvm_gems_gemdir
-elif [[ "install" = "$1" ]] ; then
+elif [[ "install" = "$action" ]] ; then
__rvm_gem_install
else
$rvm_scripts_path/log "error" "gems must be passed an action as the first parameter {load,dump,delete,name,list,gemdir,install}"

0 comments on commit c01739f

Please sign in to comment.