mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
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:
parent
323cff5b56
commit
b14f509eeb
@ -94,6 +94,8 @@ if len(args) >= 1 and args[0].startswith('@'):
|
|||||||
prefix = [sys.executable]
|
prefix = [sys.executable]
|
||||||
else:
|
else:
|
||||||
prefix = []
|
prefix = []
|
||||||
|
if runner == "python":
|
||||||
|
runner = sys.executable
|
||||||
|
|
||||||
def _subst(a):
|
def _subst(a):
|
||||||
if a == '@tahoe': return script
|
if a == '@tahoe': return script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user