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: 5bb9250e0a
("Add necessary Makefile.inc1 infrastructure for building on non-FreeBSD")
This commit is contained in:
parent
b78ae0367f
commit
4ebd18cf35
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user