From 2b3957f3737b56622e38425a52caea2a836f8b63 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Tue, 23 Jun 2015 09:38:30 +0200 Subject: [PATCH] fixed relative path issue with javascript files --- cmd/geth/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 1e5481eca..02ec63300 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -333,7 +333,7 @@ func attach(ctx *cli.Context) { } repl := newLightweightJSRE( - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), client, true, nil) @@ -366,7 +366,7 @@ func console(ctx *cli.Context) { startEth(ctx, ethereum) repl := newJSRE( ethereum, - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name), client, true, @@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) { startEth(ctx, ethereum) repl := newJSRE( ethereum, - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name), client, false,