File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def post_activate_source(args):
208208# Run user-provided scripts
209209#
210210[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postactivate" ] && source "$VIRTUALENVWRAPPER_HOOK_DIR/postactivate"
211- [ -f "$VIRTUAL_ENV/bin /postactivate" ] && source "$VIRTUAL_ENV/bin /postactivate"
211+ [ -f "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR /postactivate" ] && source "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR /postactivate"
212212"""
213213
214214
@@ -218,7 +218,7 @@ def pre_deactivate_source(args):
218218#
219219# Run user-provided scripts
220220#
221- [ -f "$VIRTUAL_ENV/bin /predeactivate" ] && source "$VIRTUAL_ENV/bin /predeactivate"
221+ [ -f "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR /predeactivate" ] && source "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR /predeactivate"
222222[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/predeactivate" ] && source "$VIRTUALENVWRAPPER_HOOK_DIR/predeactivate"
223223"""
224224
You can’t perform that action at this time.
0 commit comments