scripts/docs in rvm-0.1.47 vs scripts/docs in rvm-1.0.0

- old
+ new

@@ -46,10 +46,10 @@ generate_rdoc() { __rvm_pushpop "$rvm_src_path/$rvm_docs_ruby_string/" \rm -rf "$rvm_docs_path/$rvm_docs_ruby_string/$rvm_docs_type/" $rvm_scripts_path/log "info" "Generating rdoc documentation, be aware that this could take a *long* time, and depends heavily on your system resources..." $rvm_scripts_path/log "info" "( Errors will be logged to $rvm_log_path/$rvm_docs_ruby_string/docs.error.log )" - if gem list | grep -q ^hanna ; then + if gem list | \grep -q ^hanna ; then hanna -o $rvm_docs_path/$rvm_docs_ruby_string/$rvm_docs_type --inline-source --line-numbers --fmt=html > /dev/null 2>> $rvm_log_path/$rvm_docs_ruby_string/docs.error.log else rdoc -a -o $rvm_docs_path/$rvm_docs_ruby_string/$rvm_docs_type > /dev/null 2>> $rvm_log_path/$rvm_docs_ruby_string/docs.error.log fi __rvm_pushpop