Skip to content

Commit

Permalink
Merge pull request #220 from cliffxuan/develop
Browse files Browse the repository at this point in the history
'==' needs to be quoted for zsh
  • Loading branch information
carljm committed Feb 3, 2012
2 parents 9b65564 + d6b7045 commit 54d0aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualenv.py
Expand Up @@ -1423,7 +1423,7 @@ def install_activate(home_dir, bin_dir, prompt=None):
home_dir_msys = (drive and "/%s%s" or "%s%s") % (drive[:1], tail)

# Run-time conditional enables (basic) Cygwin compatibility
home_dir_sh = ("""$(if [ "$OSTYPE" == "cygwin" ]; then cygpath -u '%s'; else echo '%s'; fi;)""" %
home_dir_sh = ("""$(if [ "$OSTYPE" "==" "cygwin" ]; then cygpath -u '%s'; else echo '%s'; fi;)""" %
(home_dir, home_dir_msys))
files['activate'] = ACTIVATE_SH.replace('__VIRTUAL_ENV__', home_dir_sh)

Expand Down

0 comments on commit 54d0aac

Please sign in to comment.