Skip to content

Commit 58eae98

Browse files
committed
use the right virtualenv binary to get help; fixes #148
1 parent 34cb8e5 commit 58eae98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/en/history.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Release History
55
dev
66

77
- Switch to stevedore_ for plugin management
8+
- mkvirtualenv_help should use ``$VIRTUALENVWRAPPER_PYTHON`` instead
9+
of calling ``virtualenv`` directly (:bbissue:`148`).
810

911
.. _stevedore: http://pypi.python.org/pypi/stevedore
1012

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function mkvirtualenv_help {
360360
echo;
361361
echo 'virtualenv help:';
362362
echo;
363-
virtualenv $@;
363+
"$VIRTUALENVWRAPPER_VIRTUALENV" $@;
364364
}
365365

366366
# Create a new environment, in the WORKON_HOME.

0 commit comments

Comments
 (0)