From ef2c779bf9e182c9dc4f2eae0dafe56fdaac898e Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 19 Jul 2003 23:17:08 +0000 Subject: [PATCH] Use an up-to-date make binary in the upgrade_checks target if one is already available. This avoids sometimes unnecessary step of attempting to rebuild the make binary again which may fail at all if, for example, one has removed his /usr/include before doing an installworld (to keep /usr/include tidied up). Pointed out by: kris, marcel --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b88e3509cdeb..15e154230fd9 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ kernel: buildkernel installkernel # upgrade_checks: @if ! (cd ${.CURDIR}/tools/regression/usr.bin/make && \ - PATH=${PATH} ${MAKE} >/dev/null 2>&1); \ + PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ then \ (cd ${.CURDIR} && make make); \ fi