Fixed test for WORKON_HOME
This commit is contained in:
parent
6886d552bb
commit
5248089321
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ else
|
|||
fi
|
||||
|
||||
# source virtualenvwrapper if available
|
||||
if (( $+WORKON_HOME )); then
|
||||
if [[ -n "$WORKON_HOME" ]]; then
|
||||
if (( $+commands[virtualenvwrapper.sh] )); then
|
||||
source virtualenvwrapper.sh
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue