Skip to content

Commit

Permalink
testing output of checksums to diagnose the binary build
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Jan 15, 2024
1 parent a8f7578 commit 5acf772
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions r/tools/nixlibs.R
Expand Up @@ -115,16 +115,16 @@ validate_checksum <- function(binary_url, libfile, hush = quietly) {
system2(
"shasum",
args = c("--status", "-a", "512", "-c", checksum_file),
stdout = FALSE,
stderr = FALSE
stdout = TRUE,
stderr = TRUE
) == 0
},
error = function(e) {
system2(
"sha512sum",
args = c("--status", "-c", checksum_file),
stdout = FALSE,
stderr = FALSE
stdout = TRUE,
stderr = TRUE
) == 0
}
)
Expand Down

0 comments on commit 5acf772

Please sign in to comment.