Ticket #29504: virtualenvwrapper_sh.diff

File virtualenvwrapper_sh.diff, 618 bytes (added by John-Whitlock@…, 13 years ago)

New patch, same as https://trac.macports.org/attachment/ticket/30160/virtualenvwrapper_sh.diff

  • virtualenvwrapper.sh

    old new  
    4747# Locate the global Python where virtualenvwrapper is installed.
    4848if [ "$VIRTUALENVWRAPPER_PYTHON" = "" ]
    4949then
    50     VIRTUALENVWRAPPER_PYTHON="$(\which python)"
     50    VIRTUALENVWRAPPER_PYTHON="$(\which __PYTHON_BIN__)"
    5151fi
    5252
    5353# Set the name of the virtualenv app to use.
    5454if [ "$VIRTUALENVWRAPPER_VIRTUALENV" = "" ]
    5555then
    56     VIRTUALENVWRAPPER_VIRTUALENV="virtualenv"
     56    VIRTUALENVWRAPPER_VIRTUALENV="__VIRTUALENV_BIN__"
    5757fi
    5858
    5959virtualenvwrapper_derive_workon_home() {