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 <jmulligan@redhat.com>
ci_debug "Getting clang-19"
wget https://download.ceph.com/qa/llvm.sh
chmod +x llvm.sh
- $DRY_RUN sudo ./llvm.sh 19
+ wrap_sudo
+ $DRY_RUN $SUDO ./llvm.sh 19
rm llvm.sh
fi
fi