[scripts] Fix clang path in symbol.py
Bug: http://b/187231324
Test: Verify directory returned by FindClangDir exists
Change-Id: I84d1a7b2194003409b8110772e450b1286a2ee0c
diff --git a/scripts/symbol.py b/scripts/symbol.py
index 5ec4e48..ffb266a 100755
--- a/scripts/symbol.py
+++ b/scripts/symbol.py
@@ -38,7 +38,7 @@
# We want the script to fail if get_clang_version.py exists but is unable
# to find the clang version.
version_output = subprocess.check_output(get_clang_version, text=True)
- return ANDROID_BUILD_TOP + "/prebuilts/clang/host/linux-x86/" + version_output.strip()
+ return ANDROID_BUILD_TOP + "/prebuilts/clang/host/linux-x86/clang-" + version_output.strip()
else:
return None