common/compiler: support relative path to solc

pull/2613/head
Rémy Roy 9 years ago
parent 5bcdbb1ce4
commit 5eb60a6da2
  1. 1
      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

Loading…
Cancel
Save