scripts/docs in rvm-0.1.45 vs scripts/docs in rvm-0.1.46
- old
+ new
@@ -10,11 +10,11 @@
rvm_docs_type="${rvm_docs_type:-rdoc}"
# Ensure we have the doc directories.
if [[ ! -d "$rvm_docs_path" ]] ; then
- mkdir -p "$rvm_docs_path/rdoc" "$rvm_docs_path/yard"
+ \mkdir -p "$rvm_docs_path/rdoc" "$rvm_docs_path/yard"
fi
usage() {
printf "Usage: 'rvm docs {open,generate,generate-ri,generate-rdoc}'\n"
exit 1
@@ -43,10 +43,10 @@
__rvm_pushpop
}
generate_rdoc() {
__rvm_pushpop "$rvm_src_path/$rvm_docs_ruby_string/"
- rm -rf "$rvm_docs_path/$rvm_docs_ruby_string/$rvm_docs_type/"
+ \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
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