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
26135ed864
commit
6ce7fcf864
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ func Version(csdb *ChecksumDB, version string) (string, error) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if parts[0] == version {
|
if parts[0] == version {
|
||||||
parts[0] = strings.Trim(strings.Trim(parts[0], "\r"), "\\r")
|
parts[1] = strings.Trim(parts[1], "\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