lib/rvm/shell/shell_wrapper.sh in rvm-1.0.9 vs lib/rvm/shell/shell_wrapper.sh in rvm-1.0.10
- old
+ new
@@ -3,8 +3,8 @@
local last_command_result="$?"
echo "---------------RVM-RESULTS-START---------------"
echo "---"
echo " exit_status: \"$last_command_result\""
echo " environment:"
- env | sed "s#'#\\'#" | sed -e 's#"#\\"#' -e "s#\\([^=]*\\)=\\(.*\\)# '\1': \"\2\"#"
+ env | sed "s#'#\\'#g" | sed -e 's#"#\\"#g' -e "s#\\([^=]*\\)=\\(.*\\)# '\1': \"\2\"#"
echo "----------------RVM-RESULTS-END----------------"
}