Skip to content

Commit

Permalink
[svn r3679] fix --python
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
ianb committed Nov 18, 2008
1 parent 4b334f4 commit 3cb9c49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/index.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ svn trunk
* Sometimes Cygwin seems to leave ``.exe`` off ``sys.executable``; a * Sometimes Cygwin seems to leave ``.exe`` off ``sys.executable``; a
workaround is added. workaround is added.


* Fix ``--python`` option.

* Fixed handling of Jython environments that use a * Fixed handling of Jython environments that use a
jython-complete.jar. jython-complete.jar.


Expand Down
2 changes: 1 addition & 1 deletion virtualenv.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def main():
file = __file__ file = __file__
if file.endswith('.pyc'): if file.endswith('.pyc'):
file = file[:-1] file = file[:-1]
os.execvpe(interpreter, [interpreter, __file__] + sys.argv[1:], env) os.execvpe(interpreter, [interpreter, file] + sys.argv[1:], env)


if not args: if not args:
print 'You must provide a DEST_DIR' print 'You must provide a DEST_DIR'
Expand Down

0 comments on commit 3cb9c49

Please sign in to comment.