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 {
118118 then
119119 echo " NOTE: Virtual environments directory $WORKON_HOME does not exist. Creating..." 1>&2
120120 fi
121- mkdir -p $WORKON_HOME
121+ mkdir -p " $WORKON_HOME "
122122 RC=$?
123123 fi
124124 return $RC
@@ -609,7 +609,7 @@ function virtualenvwrapper_get_python_version {
609609
610610# Prints the path to the site-packages directory for the current environment.
611611function 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())"
613613}
614614
615615# Path management for packages outside of the virtual env.
@@ -707,7 +707,7 @@ function lssitepackages {
707707 virtualenvwrapper_verify_workon_home || return 1
708708 virtualenvwrapper_verify_active_environment || return 1
709709 typeset site_packages=" ` virtualenvwrapper_get_site_packages_dir` "
710- ls $@ $site_packages
710+ ls $@ " $site_packages "
711711
712712 path_file=" $site_packages /_virtualenv_path_extensions.pth"
713713 if [ -f " $path_file " ]
You can’t perform that action at this time.
0 commit comments