diff options
author | Rémy Roy <remyroy@remyroy.com> | 2016-05-25 05:02:00 +0800 |
---|---|---|
committer | Rémy Roy <remyroy@remyroy.com> | 2016-05-25 05:02:00 +0800 |
commit | 5eb60a6da23296f54081c92a6223935bfce81859 (patch) | |
tree | 566ccf5338b1e9892ce6840cc9f33ced920a3343 /common | |
parent | 5bcdbb1ce4ac576cab778e9772fabdcc7cbfbb5f (diff) | |
download | go-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')
-rw-r--r-- | common/compiler/solidity.go | 1 |
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 |