Permalink
Browse files

Added tracability to extracted set actions.

  • Loading branch information...
wayneeseguin committed Feb 24, 2010
1 parent 3291a61 commit 61077d493739c4605dd2c8eeca6696f130a6f862
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/set
View
@@ -4,6 +4,10 @@ source $rvm_scripts_path/initialize
source $rvm_scripts_path/utility
source $rvm_scripts_path/selector
+if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi
+
+trap "if [[ -d $rvm_tmp_path/ ]] && [[ -s $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15
+
action="$1" ; shift
args="$*"
if [[ -z "$action" ]] ; then

0 comments on commit 61077d4

Please sign in to comment.