Permalink
Browse files

Dumbass. It's like you never awk'd before...

  • Loading branch information...
wayneeseguin committed Apr 13, 2010
1 parent 7e7324b commit 2812637695e1350d14f73e8438c0582bafc26a99
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/cli
View
@@ -134,7 +134,7 @@ __rvm_parse_args() {
rvm_action="error"
rvm_error_message="'rvm $rvm_action' must be followed by arguments."
elif [[ "ruby" = "$rvm_action" ]] ; then
- if [[ -z "$(echo "$rvm_ruby_version" | awk ',')" ]] ; then
+ if [[ -z "$(echo "$rvm_ruby_version" | awk '/,/')" ]] ; then
export rvm_action="ruby"
export rvm_ruby_args=""
else

0 comments on commit 2812637

Please sign in to comment.