aboutsummaryrefslogtreecommitdiffstats
path: root/common/compiler
diff options
context:
space:
mode:
authorRémy Roy <remyroy@remyroy.com>2016-05-25 05:02:00 +0800
committerRémy Roy <remyroy@remyroy.com>2016-05-25 05:02:00 +0800
commit5eb60a6da23296f54081c92a6223935bfce81859 (patch)
tree566ccf5338b1e9892ce6840cc9f33ced920a3343 /common/compiler
parent5bcdbb1ce4ac576cab778e9772fabdcc7cbfbb5f (diff)
downloadgo-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar.gz
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar.bz2
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar.lz
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar.xz
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.tar.zst
go-tangerine-5eb60a6da23296f54081c92a6223935bfce81859.zip
common/compiler: support relative path to solc
Diffstat (limited to 'common/compiler')
-rw-r--r--common/compiler/solidity.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go
index ddf7a1ac9..6a5bfecd8 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