浏览代码

common/compiler: support relative path to solc

Rémy Roy 9 年之前
父节点
当前提交
5eb60a6da2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      common/compiler/solidity.go

+ 0 - 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