diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2024-02-18 13:29:03 +0100 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2024-02-27 13:44:42 +0000 |
commit | 43ed89e71a892d160eaa6fcf7c2bdc51f5f50cb7 (patch) | |
tree | ba067e0e63e7a9289072d4980220436eb9ce6bdd /scripts | |
parent | 60961e79e62edb20b7977be4ba197e4ba6e268b0 (diff) |
Update clang-tidy job to Jammy
Change-Id: Ice564ac6cfb6092db54f10dd0608d1299f752a84
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-analyzer.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run-analyzer.sh b/scripts/run-analyzer.sh index a410e8b4c..9e53e50dd 100755 --- a/scripts/run-analyzer.sh +++ b/scripts/run-analyzer.sh @@ -45,12 +45,12 @@ LLVM_INSTALL_DIR=${LLVM_INSTALL_DIR:-""} # update-alternatives --install /usr/bin/run-clang-tidy.py run-clang-tidy.py /usr/bin/run-clang-tidy-4.0.py 1 CLANG_TIDY=`which clang-tidy` -RUN_CLANG_TIDY=`which run-clang-tidy.py` +RUN_CLANG_TIDY=`which run-clang-tidy` if [ -z "$RUN_CLANG_TIDY" ] || [ -z "$CLANG_TIDY" ]; then if [ ! -z "$LLVM_INSTALL_DIR" ]; then CLANG_TIDY="$LLVM_INSTALL_DIR/bin/clang-tidy" - RUN_CLANG_TIDY="$LLVM_INSTALL_DIR/share/clang/run-clang-tidy.py" + RUN_CLANG_TIDY="$LLVM_INSTALL_DIR/bin/run-clang-tidy" else echo "Can't find clang-tidy and/or run-clang-tidy.py in PATH, try setting LLVM_INSTALL_DIR" exit 1 |