mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 17:13:45 +00:00
[release/1.4.6] common/compiler: support relative path to solc
(cherry picked from commit 5eb60a6da2)
This commit is contained in:
parent
c45c424073
commit
ab522d3bc7
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, " ")
|
||||
|
||||
cmd := exec.Command(sol.solcPath, params...)
|
||||
cmd.Dir = wd
|
||||
cmd.Stdin = strings.NewReader(source)
|
||||
cmd.Stderr = stderr
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue