From de1831b6e9e0ad1e80201d82574899de69b0df0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Roy?= Date: Fri, 4 Mar 2016 14:50:56 -0500 Subject: common/compiler: fix path problem with filepath.Glob on Windows --- common/compiler/solidity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 8d3304029..ddf7a1ac9 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -157,7 +157,7 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) { return nil, fmt.Errorf("solc: %v\n%s", err, string(stderr.Bytes())) } // Sanity check that something was actually built - matches, _ := filepath.Glob(wd + "/*\\.bin*") + matches, _ := filepath.Glob(filepath.Join(wd, "*.bin*")) if len(matches) < 1 { return nil, fmt.Errorf("solc: no build results found") } -- cgit v1.2.3