From: LLVM Packaging Team Date: Wed, 6 Jan 2021 19:16:26 +0000 (+0000) Subject: scan-view-fix-path X-Git-Tag: archive/raspbian/1%12.0.1-16+rpi1~4^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6fbc9cd757c4ddb959d6f36556f91a47a8e668da;p=llvm-toolchain-12.git scan-view-fix-path =================================================================== Gbp-Pq: Name scan-view-fix-path.diff --- diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view index 6165432e7a..90f97a92e9 100755 --- a/clang/tools/scan-view/bin/scan-view +++ b/clang/tools/scan-view/bin/scan-view @@ -65,7 +65,7 @@ def start_browser(port, options): def run(port, options, root): # Prefer to look relative to the installed binary - share = os.path.dirname(__file__) + "/../share/scan-view" + share = os.path.dirname(__file__) + "/../share/" if not os.path.isdir(share): # Otherwise look relative to the source share = os.path.dirname(__file__) + "/../../scan-view/share"