File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function virtualenvwrapper_verify_workon_home {
118
118
then
119
119
echo " NOTE: Virtual environments directory $WORKON_HOME does not exist. Creating..." 1>&2
120
120
fi
121
- mkdir -p $WORKON_HOME
121
+ mkdir -p " $WORKON_HOME "
122
122
RC=$?
123
123
fi
124
124
return $RC
@@ -609,7 +609,7 @@ function virtualenvwrapper_get_python_version {
609
609
610
610
# Prints the path to the site-packages directory for the current environment.
611
611
function virtualenvwrapper_get_site_packages_dir {
612
- " $VIRTUAL_ENV /bin /python" -c " import distutils; print(distutils.sysconfig.get_python_lib())"
612
+ " $VIRTUAL_ENV /$VIRTUALENVWRAPPER_ENV_BIN_DIR /python" -c " import distutils; print(distutils.sysconfig.get_python_lib())"
613
613
}
614
614
615
615
# Path management for packages outside of the virtual env.
@@ -707,7 +707,7 @@ function lssitepackages {
707
707
virtualenvwrapper_verify_workon_home || return 1
708
708
virtualenvwrapper_verify_active_environment || return 1
709
709
typeset site_packages=" ` virtualenvwrapper_get_site_packages_dir` "
710
- ls $@ $site_packages
710
+ ls $@ " $site_packages "
711
711
712
712
path_file=" $site_packages /_virtualenv_path_extensions.pth"
713
713
if [ -f " $path_file " ]
You can’t perform that action at this time.
0 commit comments