tools: use sudo in run_clang_tidy_common.sh for apt operations
This commit is contained in:
1 parent
0d5990f127
commit
6822817a63
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user