Commit b60d930
committed
Remove the trap from virtualenvwrapper_tempfile; the function is called in
a command substitution, so the trap fires immediately to remove the file.
There are ways to accomplish this, but they're complex and the caller is
already explicitly rm'ing the file.
diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh
--- a/virtualenvwrapper.sh
+++ b/virtualenvwrapper.sh
@@ -130,25 +130,24 @@ function virtualenvwrapper_verify_workon
function virtualenvwrapper_tempfile {1 parent 92d2655 commit b60d930
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
0 commit comments