Skip to content

Commit 06c8b3c

Browse files
committed
Make postmkproject use VIRTUALENVWRAPPER_HOOK_DIR
1 parent 8822c26 commit 06c8b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def post_mkproject_source(args):
4444
#
4545
# Run user-provided scripts
4646
#
47-
[ -f "$WORKON_HOME/postmkproject" ] && source "$WORKON_HOME/postmkproject"
47+
[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject" ] && source "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject"
4848
"""
4949

5050

0 commit comments

Comments
 (0)