From b14f509eeb6b2e1d5486bdb5b0088ecf183c3138 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 13 Oct 2014 18:47:23 +0100 Subject: [PATCH] bin/tahoe @python should always invoke the same Python that ran bin/tahoe. Signed-off-by: Daira Hopwood --- bin/tahoe-script.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/tahoe-script.template b/bin/tahoe-script.template index 3fb7efed..b088eaf6 100644 --- a/bin/tahoe-script.template +++ b/bin/tahoe-script.template @@ -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 -- 2.45.2