Commit 16d49525 authored by Brad King's avatar Brad King

clang-format.bash: Fix error message when clang-format is not found

Do not refer to a variable we just determined is empty to get the
name of the tool for the error message.  Just hard-code the name.
parent 295d9bf2
......@@ -92,7 +92,7 @@ fi
# Verify that we have a tool.
if ! type -p "$clang_format" >/dev/null; then
echo "Unable to locate '$clang_format'"
echo "Unable to locate a 'clang-format' tool."
exit 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment