Commit a476aabf authored by Jeffrey Wilcke's avatar Jeffrey Wilcke

Merge pull request #2613 from remyroy/rel-path-solc

common/compiler: support relative path to solc
parents 5bcdbb1c 5eb60a6d
...@@ -149,7 +149,6 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) { ...@@ -149,7 +149,6 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) {
compilerOptions := strings.Join(params, " ") compilerOptions := strings.Join(params, " ")
cmd := exec.Command(sol.solcPath, params...) cmd := exec.Command(sol.solcPath, params...)
cmd.Dir = wd
cmd.Stdin = strings.NewReader(source) cmd.Stdin = strings.NewReader(source)
cmd.Stderr = stderr cmd.Stderr = stderr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment