aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-05-25 15:47:54 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-05-25 15:47:54 +0800
commita476aabf1a2ea10a6f8a3136899f912660ba26f5 (patch)
tree566ccf5338b1e9892ce6840cc9f33ced920a3343
parent5bcdbb1ce4ac576cab778e9772fabdcc7cbfbb5f (diff)
parent5eb60a6da23296f54081c92a6223935bfce81859 (diff)
downloadgo-tangerine-a476aabf1a2ea10a6f8a3136899f912660ba26f5.tar.gz
go-tangerine-a476aabf1a2ea10a6f8a3136899f912660ba26f5.tar.zst
go-tangerine-a476aabf1a2ea10a6f8a3136899f912660ba26f5.zip
Merge pull request #2613 from remyroy/rel-path-solc
common/compiler: support relative path to solc
-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