git: 4ebd18cf357a - main - Makefile.inc1: Print the right PATH for missing install tool error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Jan 2023 23:53:11 UTC
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=4ebd18cf357af71941675ff3ae7fb3bf56a37e0e commit 4ebd18cf357af71941675ff3ae7fb3bf56a37e0e Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2023-01-29 23:45:49 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2023-01-29 23:53:04 +0000 Makefile.inc1: Print the right PATH for missing install tool error We override PATH for which but then go and print the non-overridden PATH, which leads to rather confusing messages. Fixes: 5bb9250e0af4 ("Add necessary Makefile.inc1 infrastructure for building on non-FreeBSD") --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index ae50cdda508f..dfc9cb8d07fc 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1371,7 +1371,7 @@ distributeworld installworld stageworld: _installcheck_world .PHONY if progpath=`env PATH=${TMPPATH:Q} which $$prog`; then \ echo $$progpath; \ else \ - echo "Required tool $$prog not found in PATH ($$PATH)." >&2; \ + echo "Required tool $$prog not found in PATH ("${TMPPATH:Q}")." >&2; \ exit 1; \ fi; \ done); \