summaryrefslogtreecommitdiff
path: root/virtualenv.py
diff options
context:
space:
mode:
authorIan Bicking <ianb@colorstudy.com>2008-11-18 11:59:22 -0600
committerIan Bicking <ianb@colorstudy.com>2008-11-18 11:59:22 -0600
commit87e6007800492c5806bdaf7313bca0315e58334a (patch)
tree31d2108c5a84d0902a56499689bf4be568f6ceab /virtualenv.py
parent0bbbf0939437ef1fac2c98e9472091cea7e6d7d9 (diff)
downloadvirtualenv-1.3.1.tar.gz
[svn r3679] fix --python1.3.1
Diffstat (limited to 'virtualenv.py')
-rwxr-xr-xvirtualenv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtualenv.py b/virtualenv.py
index 91aa598..50536ed 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -374,7 +374,7 @@ def main():
file = __file__
if file.endswith('.pyc'):
file = file[:-1]
- os.execvpe(interpreter, [interpreter, __file__] + sys.argv[1:], env)
+ os.execvpe(interpreter, [interpreter, file] + sys.argv[1:], env)
if not args:
print 'You must provide a DEST_DIR'