From fbcf74890bf6dc974ace951a42ab60ace4b8fcc7 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Wed, 3 Jul 2024 08:27:53 +0800 Subject: [PATCH] Add --- scripts/setup-centos9.sh | 2 +- scripts/setup-ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup-centos9.sh b/scripts/setup-centos9.sh index 556cc5dab182..93bcf1305dbb 100755 --- a/scripts/setup-centos9.sh +++ b/scripts/setup-centos9.sh @@ -211,7 +211,7 @@ function install_arrow { # Install thrift. cd _build/thrift_ep-prefix/src/thrift_ep-build - cmake --install ./ --prefix /usr/local/ + $SUDO cmake --install ./ --prefix /usr/local/ } function install_cuda { diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index adbdefa85426..1876ca02780c 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -180,7 +180,7 @@ function install_arrow { # Install thrift. cd _build/thrift_ep-prefix/src/thrift_ep-build - cmake --install ./ --prefix /usr/local/ + $SUDO cmake --install ./ --prefix /usr/local/ } function install_cuda {