Fix scan-build-py executable lookup path
authorserge-sans-paille <sguelton@redhat.com>
Mon, 13 Sep 2021 08:25:45 +0000 (10:25 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Mon, 13 Sep 2021 09:01:47 +0000 (11:01 +0200)
commitc84755a046bbdcd0564693e30b2508034b06002b
treeb704a58f823f5e8f7b6e3062f46463987b8d15de
parent2d75cfdeb740349a25b517d620744d0a9c971e3c
Fix scan-build-py executable lookup path

Once installed, scan-build-py doesn't know anything about its auxiliary
executable and can't find them.
Use relative path wrt. scan-build-py script.

Differential Revision: https://reviews.llvm.org/D109659
clang/tools/scan-build-py/lib/libscanbuild/analyze.py