From 1cc05280433c94110b7dfdc91122fd0cdf16380a Mon Sep 17 00:00:00 2001 From: Dave Kroezen Date: Tue, 22 Oct 2024 08:19:26 +0000 Subject: [PATCH] Run clang install command as root For containers that do not run as root --- industrial_ci/src/tests/clang_format_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/industrial_ci/src/tests/clang_format_check.sh b/industrial_ci/src/tests/clang_format_check.sh index b44442b4d..91ea28ac0 100644 --- a/industrial_ci/src/tests/clang_format_check.sh +++ b/industrial_ci/src/tests/clang_format_check.sh @@ -35,7 +35,7 @@ function run_clang_format_check() { ici_apt_install lsb-release software-properties-common gnupg ici_cmd wget -qO /tmp/llvm.sh https://apt.llvm.org/llvm.sh ici_cmd chmod +x /tmp/llvm.sh - ici_cmd /tmp/llvm.sh "$CLANG_FORMAT_VERSION" + ici_cmd ici_asroot /tmp/llvm.sh "$CLANG_FORMAT_VERSION" fi ici_apt_install git-core "$clang_format_executable"