aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorRémy Roy <remyroy@remyroy.com>2016-03-05 03:50:56 +0800
committerRémy Roy <remyroy@remyroy.com>2016-03-08 06:52:19 +0800
commitde1831b6e9e0ad1e80201d82574899de69b0df0d (patch)
tree1f4f03ec333b7d1a7a3d62440b242e64e338d122 /common
parentd45f01d5f782857c6a65f65fdc67b630a8f028bd (diff)
downloadgo-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar.gz
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar.bz2
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar.lz
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar.xz
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.tar.zst
go-tangerine-de1831b6e9e0ad1e80201d82574899de69b0df0d.zip
common/compiler: fix path problem with filepath.Glob on Windows
Diffstat (limited to 'common')
-rw-r--r--common/compiler/solidity.go2
1 files changed, 1 insertions, 1 deletions
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")
}