scripts/help in rvm-1.0.6 vs scripts/help in rvm-1.0.7
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
rvm_base_except="selector"
-source "$rvm_scripts_path/base"
+source "$rvm_path/scripts/base"
rvm_help_path="${rvm_help_path:-"$rvm_path/help"}"
args=($*)
command="${args[0]}"
@@ -15,12 +15,16 @@
else
less "${rvm_help_path}/${command}"
fi
else
less "${rvm_path:-$HOME/.rvm}/README"
- "$rvm_scripts_path/log" "info" "Commands available with 'rvm help':\n\n $(builtin cd "${rvm_help_path}" ; find * -type f -maxdepth 0 -print | \tr "\n" ' ')"
+ "$rvm_path/scripts/log" "info" \
+ "Commands available with 'rvm help':\n\n $(builtin cd "${rvm_help_path}" ; find . -maxdepth 1 -mindepth 1 -type f -print | \tr "\n" ' ' | sed -e 's#./##g')"
fi
-"$rvm_scripts_path/log" "info" "For additional information please visit RVM's documentation website:\n\n http://rvm.beginrescueend.com/"
-"$rvm_scripts_path/log" "info" "If you still cannot find what an answer to your question, find me 'wayneeseguin' in #rvm on irc.freenode.net:\n\n http://webchat.freenode.net/?channels=rvm\n"
+"$rvm_path/scripts/log" "info" \
+ "For additional information please visit RVM's documentation website:\n\n http://rvm.beginrescueend.com/"
+
+"$rvm_path/scripts/log" "info" \
+ "If you still cannot find what an answer to your question, find me 'wayneeseguin' in #rvm on irc.freenode.net:\n\n http://webchat.freenode.net/?channels=rvm\n"
exit $?