tools: use sudo in run_clang_tidy_common.sh for apt operations

This commit is contained in:
torsten committed 2026-07-17 17:54:32 +02:00
1 parent 0d5990f127
commit 6822817a63
1 file changed
+2 -2
+2 -2
View File
@@ -2,8 +2,8 @@
set -euo pipefail
echo "Ensuring clang-tidy and clang-format are installed"
apt-get update
apt-get install -y clang-tidy clang-format || true
sudo apt-get update
sudo apt-get install -y clang-tidy clang-format || true
BUILD_DIR=/repo/build_migrate_Lts_Common
if [ ! -f "$BUILD_DIR/compile_commands.json" ]; then