mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 03:26:38 +00:00
Merge pull request #2613 from remyroy/rel-path-solc
common/compiler: support relative path to solc
This commit is contained in:
commit
a476aabf1a
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue