Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shut your trap!

  • Loading branch information...
commit 1689dd59092852ea68cc5f086b1d8d299a03444b 1 parent 5f9b276
Wayne E. Seguin authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 scripts/base
6 scripts/base
View
@@ -43,5 +43,7 @@ done
unset scripts entry rvm_base_except
-# Cleanup tmp on exit.
-trap "__rvm_cleanup_tmp '$$'" 0 1 2 3 15
+if [[ ${rvm_interactive_flag} -eq 0 ]]; then
+ # Cleanup tmp on exit.
+ trap "__rvm_cleanup_tmp '$$'" 0 1 2 3 15
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.