Date: Tue, 11 Apr 2006 14:31:31 +0100 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-questions@freebsd.org Subject: Re: Need /bin/sh script help Message-ID: <200604111431.33120.list-freebsd-2004@morbius.sent.com> In-Reply-To: <443B3EF8.3020308@u.washington.edu> References: <443B3EF8.3020308@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 April 2006 06:30, Garrett Cooper wrote: > cd /usr/src; > if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for > KERNCONF in /etc/make.conf if [ `make -V KERNCONF` ] > read KERNCONF; > KC="KERNCONF=$KERNCONF"; > fi You need to check that KC actually exists. IIRC a typo will cause GENERIC to build.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604111431.33120.list-freebsd-2004>