Skip to content

Commit 869caaa

Browse files
script/run-make: use SUDO variable for running llvm install script
Match the behavior of install-deps.sh and use a SUDO env var that may or may not actually invoke sudo. This is needed when building a container image to build ceph as these scripts all run as root already and sudo is not needed and thus not installed. Signed-off-by: John Mulligan <[email protected]>
1 parent bbd7933 commit 869caaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/script/run-make.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function prepare() {
5858
ci_debug "Getting clang-19"
5959
wget https://download.ceph.com/qa/llvm.sh
6060
chmod +x llvm.sh
61-
$DRY_RUN sudo ./llvm.sh 19
61+
wrap_sudo
62+
$DRY_RUN $SUDO ./llvm.sh 19
6263
rm llvm.sh
6364
fi
6465
fi

0 commit comments

Comments
 (0)