This is an automated email from the ASF dual-hosted git repository.
marong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 6a31128bd8 [VL] Fix setup scripts with multiple commands to run
(#10930)
6a31128bd8 is described below
commit 6a31128bd8f696384c806261ec05fdbed1d4688a
Author: Rong Ma <[email protected]>
AuthorDate: Fri Oct 24 10:11:29 2025 +0100
[VL] Fix setup scripts with multiple commands to run (#10930)
---
dev/builddeps-veloxbe.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/builddeps-veloxbe.sh b/dev/builddeps-veloxbe.sh
index 46ea6a1569..32acdb260f 100755
--- a/dev/builddeps-veloxbe.sh
+++ b/dev/builddeps-veloxbe.sh
@@ -298,17 +298,17 @@ function setup_dependencies {
OS=`uname -s`
ARCH=`uname -m`
-commands_to_run=${OTHER_ARGUMENTS:-}
+commands_to_run=(${OTHER_ARGUMENTS[@]:-})
(
- if [[ "x$commands_to_run" == "x" ]]; then
+ if [[ ${#commands_to_run[@]} -eq 0 ]]; then
get_velox
if [ -z "${GLUTEN_VCPKG_ENABLED:-}" ] && [ $RUN_SETUP_SCRIPT == "ON" ];
then
setup_dependencies
fi
build_velox_backend
else
- echo "Commands to run: $commands_to_run"
- for cmd in "$commands_to_run"; do
+ echo "Commands to run: ${commands_to_run[@]}"
+ for cmd in "${commands_to_run[@]}"; do
"${cmd}"
done
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]