File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ 2010-06-03 Doug Hellmann <dhellmann@racemi.com>
2+
3+ * virtualenvwrapper.sh: Escape the call to "which" so we don't use
4+ an alias by accident.
5+
162010-05-22 Doug Hellmann <dhellmann@racemi.com>
27
38 * tests/test_cp.sh: Clarify some of the tests by breaking up,
Original file line number Diff line number Diff line change 5454# Locate the global Python where virtualenvwrapper is installed.
5555if [ " $VIRTUALENVWRAPPER_PYTHON " = " " ]
5656then
57- VIRTUALENVWRAPPER_PYTHON=" $( which python) "
57+ VIRTUALENVWRAPPER_PYTHON=" $( \ w hich python) "
5858fi
5959
6060# If the path is relative, prefix it with $HOME
@@ -142,7 +142,7 @@ virtualenvwrapper_initialize () {
142142
143143# Verify that virtualenv is installed and visible
144144virtualenvwrapper_verify_virtualenv () {
145- typeset venv=$( which virtualenv | grep -v " not found" )
145+ typeset venv=$( \ w hich virtualenv | grep -v " not found" )
146146 if [ " $venv " = " " ]
147147 then
148148 echo " ERROR: virtualenvwrapper could not find virtualenv in your path" >&2
You can’t perform that action at this time.
0 commit comments