Subject: PR/37498 CVS commit: src/etc
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Alan Barrett <apb@netbsd.org>
List: netbsd-bugs
Date: 12/08/2007 17:30:03
The following reply was made to PR install/37498; it has been noted by GNATS.

From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37498 CVS commit: src/etc
Date: Sat,  8 Dec 2007 17:31:12 +0000 (UTC)

 Module Name:	src
 Committed By:	apb
 Date:		Sat Dec  8 17:31:12 UTC 2007
 
 Modified Files:
 	src/etc: MAKEDEV.tmpl
 
 Log Message:
 Add a linecount shell function, and use it to count the lines in the
 output from MAKEDEV.local.
 
 Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
 Laight.  The while loop in the old code is executed in a subshell, so it
 can't make persistent modifications to the parent shell's variables.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.91 -r1.92 src/etc/MAKEDEV.tmpl
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.