mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/build: fix build on latest windows
This commit is contained in:
parent
50ec012095
commit
5fa8c793ad
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ func Version(csdb *ChecksumDB, version string) (string, error) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if parts[0] == version {
|
if parts[0] == version {
|
||||||
|
parts[0] = strings.Trim(parts[0], "\r")
|
||||||
log.Printf("Found version %q", parts[1])
|
log.Printf("Found version %q", parts[1])
|
||||||
return parts[1], nil
|
return parts[1], nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue