From 16d495253b45ae802ac0d78bc33f6caaa5285370 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 5 Jul 2017 12:55:03 -0400 Subject: 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. --- Utilities/Scripts/clang-format.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Scripts/clang-format.bash b/Utilities/Scripts/clang-format.bash index edcda77..428a9e4 100755 --- a/Utilities/Scripts/clang-format.bash +++ b/Utilities/Scripts/clang-format.bash @@ -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 fi -- cgit v0.12