From ab522d3bc75639a871d30ce0e2d1b95681178088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Roy?= Date: Tue, 24 May 2016 17:02:00 -0400 Subject: [PATCH] [release/1.4.6] common/compiler: support relative path to solc (cherry picked from commit 5eb60a6da23296f54081c92a6223935bfce81859) --- common/compiler/solidity.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index ddf7a1ac96..6a5bfecd86 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -149,7 +149,6 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) { compilerOptions := strings.Join(params, " ") cmd := exec.Command(sol.solcPath, params...) - cmd.Dir = wd cmd.Stdin = strings.NewReader(source) cmd.Stderr = stderr