Skip to content

Commit

Permalink
Improve checksum validation output
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Nov 21, 2023
1 parent af77243 commit 1dd7e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r/tools/nixlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ download_binary <- function(lib) {
checksum_ok <- system2(checksum_cmd, args = checksum_args)

if (checksum_ok != 0) {
cat("*** Checksum validation failed for libarrow binary: ", libfile, "\n")
lg("Checksum validation failed for libarrow binary: %s/%s", lib, libfile)
unlink(libfile)
libfile <- NULL
} else {
cat("*** Checksum validated successfully for libarrow binary: ", libfile, "\n")
lg("Checksum validated successfully for libarrow binary: %s/%s", lib, libfile)
}
}

Expand Down

0 comments on commit 1dd7e59

Please sign in to comment.