Commit 03a253b
committed
virtualenvwrapper.sh: always export VIRTUALENVWRAPPER_HOOK_DIR
Previously, if VIRTUALENVWRAPPER_HOOK_DIR is set to a nonempty value but not
exported, virtualenvwrapper_initialize would assume it is available in the
environment, and that leads to confusing problems like #276 where
user_scripts.make_hook attempts to create hooks like
'/Users/jacob/venvs/$VIRTUALENVWRAPPER_HOOK_DIR/premkproject'.
In this commit, we make sure VIRTUALENVWRAPPER_HOOK_DIR is always exported, so
that $VIRTUALENVWRAPPER_HOOK_DIR is always expanded by user_scripts.get_path.1 parent cee707f commit 03a253b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
0 commit comments