Skip to content

Commit df447e9

Browse files
zmwangxjasonamyers
authored andcommitted
Merged in zmwangx/virtualenvwrapper/always-export-virtualenvwrapper_hook_dir (pull request #55)
virtualenvwrapper.sh: always export VIRTUALENVWRAPPER_HOOK_DIR
2 parents 06e2c7a + 03a253b commit df447e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

virtualenvwrapper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,9 @@ function virtualenvwrapper_initialize {
304304
# Set the location of the hook scripts
305305
if [ "$VIRTUALENVWRAPPER_HOOK_DIR" = "" ]
306306
then
307-
export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME"
307+
VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME"
308308
fi
309+
export VIRTUALENVWRAPPER_HOOK_DIR
309310

310311
mkdir -p "$VIRTUALENVWRAPPER_HOOK_DIR"
311312

0 commit comments

Comments
 (0)