git: 2faefc48c7de - stable/13 - tools/build: Fix the error message used when a host tool is not present

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 02 Feb 2022 01:28:23 UTC
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=2faefc48c7de9b54abb051de0e198c6860a20386

commit 2faefc48c7de9b54abb051de0e198c6860a20386
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-01-26 20:23:44 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-02-02 01:28:12 +0000

    tools/build: Fix the error message used when a host tool is not present
    
    (cherry picked from commit ddf312e8d7562baf031da95059c5e8857f180e05)
---
 tools/build/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/Makefile b/tools/build/Makefile
index 12fd9521ae1b..ee351dfa8c60 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -313,7 +313,7 @@ host-symlinks:
 	@source_path="${_tool:S/:/ /:[1]}"; \
 	target_path="${DESTDIR}/bin/${_tool:S/:/ /:[2]}"; \
 	if [ ! -e "$${source_path}" ] ; then \
-		echo "Host tool '${src_path}' is missing"; false; \
+		echo "Host tool '$${source_path}' is missing"; false; \
 	fi; \
 	rm -f "$${target_path}"; \
 	${_COPY_HOST_TOOL} "$${source_path}" "$${target_path}"