From 6822817a6399a31334e688933830ed62f33ab07c Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 17 Jul 2026 17:54:32 +0200 Subject: [PATCH] tools: use sudo in run_clang_tidy_common.sh for apt operations --- migration/run_clang_tidy_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/run_clang_tidy_common.sh b/migration/run_clang_tidy_common.sh index be07e974a..aa2ce4966 100755 --- a/migration/run_clang_tidy_common.sh +++ b/migration/run_clang_tidy_common.sh @@ -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