From a4752ef7b05bd249ea83adf6fd834f2ed9163cc1 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 17 Sep 2004 09:17:33 +0000 Subject: Pass the idea of the make(1) binary to use down to newvers.sh. This is necessary so source upgrades use the correct binary. MFC after: 3 days For the record: Problem spotted by Scott Long, who mentioned that source upgrades from 4.7 to recent 5.x and 6.0 are broken. Detailed analysis shows that 4.7 has a broken make(1) binary. A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by imp@, though the commit log erroneously stated "MFC 1.68" while in fact it should have been spelled as "MFC 1.67". --- sys/conf/newvers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/conf/newvers.sh') diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index f2770a8..3484f45 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -82,7 +82,7 @@ fi touch version v=`cat version` u=${USER-root} d=`pwd` h=${HOSTNAME-`hostname`} t=`date` -i=`make -V KERN_IDENT` +i=`${MAKE:-make} -V KERN_IDENT` cat << EOF > vers.c $COPYRIGHT char sccspad[32 - 4 /* sizeof(sccs) */] = { '\\0' }; -- cgit v1.1