From: LLVM Packaging Team Date: Mon, 2 Jul 2018 08:45:18 +0000 (+0100) Subject: scan-view-fix-path X-Git-Tag: archive/raspbian/1%4.0.1-10_deb9u2+rpi1~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=51376b2b26d888d97a5a7a03dc8acf892f3a4d65;p=llvm-toolchain-4.0.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 1b6e8ba90..5adaa81f1 100755 --- a/clang/tools/scan-view/bin/scan-view +++ b/clang/tools/scan-view/bin/scan-view @@ -61,7 +61,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"