kou commented on code in PR #50856:
URL: https://github.com/apache/arrow/pull/50856#discussion_r3772919141
##########
r/inst/build_arrow_static.sh:
##########
@@ -62,61 +62,66 @@ case "$CXX" in
;;
esac
+
+CMAKE_COMMAND=("${CMAKE}")
+
# Used for Emscripten
-: ${CMAKE_WRAPPER:=""}
+if [[ -n "${CMAKE_WRAPPER:-}" ]]; then
+ CMAKE_COMMAND=("${CMAKE_WRAPPER}" "${CMAKE}")
Review Comment:
Can we use `CMAKE_COMMAND` here?
```suggestion
CMAKE_COMMAND=("${CMAKE_WRAPPER}" "${CMAKE_COMMAND[@]}")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]