bin/tahoe @python should always invoke the same Python that ran bin/tahoe.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2014-10-13 18:47:23 +01:00
parent 323cff5b56
commit b14f509eeb

View 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