diff options
Diffstat (limited to 'scripts/clang-tidy-diff.sh')
-rwxr-xr-x | scripts/clang-tidy-diff.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/clang-tidy-diff.sh b/scripts/clang-tidy-diff.sh index c3f3cc4a2..c8d6b11a5 100755 --- a/scripts/clang-tidy-diff.sh +++ b/scripts/clang-tidy-diff.sh @@ -21,7 +21,7 @@ if [ ! -e "$CLANG_TIDY" ]; then exit 1 fi -CLANG_DIR=$(dirname $(dirname $CLANG_TIDY)) +CLANG_DIR=$(dirname $(dirname $(readlink -f $CLANG_TIDY))) CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py if [ ! -e "$CLANG_TIDY_DIFF" ]; then echo "Failed to find clang-tidy-diff.py ($CLANG_TIDY_DIFF)" |