]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
bin/tahoe @python should always invoke the same Python that ran bin/tahoe.
authorDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 17:47:23 +0000 (18:47 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 13 Oct 2014 17:50:01 +0000 (18:50 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
bin/tahoe-script.template

index 3fb7efedf717f8af311ea39aa7bf0221e801f076..b088eaf6a32f736a232be60f9c420d4628d368dc 100644 (file)
@@ -94,6 +94,8 @@ if len(args) >= 1 and args[0].startswith('@'):
         prefix = [sys.executable]
     else:
         prefix = []
+        if runner == "python":
+            runner = sys.executable
 
     def _subst(a):
         if a == '@tahoe': return script