You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by pa...@apache.org on 2023/06/13 15:06:33 UTC

[arrow-nanoarrow] branch main updated: chore(r): Fix environment variable used to denote the location of cmake (#230)

This is an automated email from the ASF dual-hosted git repository.

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new d079dd8  chore(r): Fix environment variable used to denote the location of cmake (#230)
d079dd8 is described below

commit d079dd82e85dc24c9cb0ef59caee4cebbf416627
Author: Dewey Dunnington <de...@dunnington.ca>
AuthorDate: Tue Jun 13 12:06:14 2023 -0300

    chore(r): Fix environment variable used to denote the location of cmake (#230)
    
    It was "CMAKE" but should have been "CMAKE_BIN".
    
    Closes #223.
---
 r/bootstrap.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/r/bootstrap.R b/r/bootstrap.R
index 5d1ebba..d13a743 100644
--- a/r/bootstrap.R
+++ b/r/bootstrap.R
@@ -27,7 +27,7 @@ dist_dir <- file.path(temp_dir, "dist")
 dir.create(build_dir)
 dir.create(dist_dir)
 
-cmake_command <- shQuote(Sys.getenv("CMAKE", "cmake"))
+cmake_command <- shQuote(Sys.getenv("CMAKE_BIN", "cmake"))
 
 run_cmake <- function(args, wd = ".") {
   force(args)