Skip to content

Commit

Permalink
use versioned filename to match checksum in nixlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Oct 7, 2023
1 parent cec5269 commit 88dde98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion r/tools/nixlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ thirdparty_dependency_dir <- Sys.getenv("ARROW_THIRDPARTY_DEPENDENCY_DIR", "tool


download_binary <- function(lib) {
libfile <- tempfile()
libfile <- paste0("arrow-", VERSION, ".zip")
binary_url <- paste0(arrow_repo, "bin/", lib, "/arrow-", VERSION, ".zip")
if (try_download(binary_url, libfile)) {
if (!quietly) {
Expand Down Expand Up @@ -118,6 +118,7 @@ download_binary <- function(lib) {

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

0 comments on commit 88dde98

Please sign in to comment.