Skip to content

Commit

Permalink
Merge pull request #241 from ubuntu/fix-build-wsl-kinetic
Browse files Browse the repository at this point in the history
Use strings.Fields to split the checksum file.
  • Loading branch information
CarlosNihelton authored Jul 27, 2022
2 parents 5f7f780 + 3e01b04 commit 3340751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsl-builder/prepare-build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func checksumMatches(path, origName, checksumPath string) (err error) {

var found bool
for _, l := range text {
e := strings.Split(l, " ")
e := strings.Fields(l)
if len(e) != 2 {
continue
}
Expand Down

0 comments on commit 3340751

Please sign in to comment.