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: [PATCH] common/compiler: fix path problem with filepath.Glob on Windows --- common/compiler/solidity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 8d3304029e..ddf7a1ac96 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") }