Date: Sun, 4 Aug 2002 09:30:04 -0700 (PDT) From: Dmitry Morozovsky <marck@rinet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/41317: reflect kernel building user for sudo-ers Message-ID: <200208041630.g74GU440070653@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/41317; it has been noted by GNATS.
From: Dmitry Morozovsky <marck@rinet.ru>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:
Subject: Re: kern/41317: reflect kernel building user for sudo-ers
Date: Sun, 4 Aug 2002 20:27:36 +0400 (MSD)
On Sun, 4 Aug 2002, Dmitry Morozovsky wrote:
Oops. It seems I missed colon (to handle sing-user mode kernel compiles
correctly). Here is fixed patch:
retrieving revision 1.44.2.24
diff -u -r1.44.2.24 newvers.sh
--- newvers.sh 16 Jun 2002 00:31:54 -0000 1.44.2.24
+++ newvers.sh 4 Aug 2002 15:30:14 -0000
@@ -85,7 +85,8 @@
fi
touch version
-v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
+u=`/usr/bin/logname`
+v=`cat version` u=${u:-root} d=`pwd` h=`hostname` t=`date`
cat << EOF > vers.c
$COPYRIGHT
char sccspad[32 - 4 /* sizeof(sccs) */] = { '\\0' };
Sincerely,
D.Marck [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208041630.g74GU440070653>
