From owner-freebsd-current Fri Jun 16 20:18:41 2000 Delivered-To: freebsd-current@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id 9842537C228; Fri, 16 Jun 2000 20:18:38 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FWA007UI3ULBS@mta5.rcsntx.swbell.net>; Fri, 16 Jun 2000 22:18:23 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id WAA05853; Fri, 16 Jun 2000 22:17:26 -0500 (CDT envelope-from chris) Date: Fri, 16 Jun 2000 22:17:26 -0500 From: Chris Costello Subject: Re: make install of new kernel fails (bad /modules) In-reply-to: <20000613175622.A91072@unx.sas.com> To: John DeBoskey Cc: freebsd-current@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000616221725.H98160@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000613175622.A91072@unx.sas.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, June 13, 2000, John DeBoskey wrote: > modules-install modules-install.debug: > .if !defined(NO_MODULES_OLD) > mkdir -p ${DESTDIR}/modules.old > cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old I'd suggest changing the above line to: test -f ${DESTDIR}/modules/* && \ cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old I haven't tested it, but it should work. > .endif > cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} > install -- |Chris Costello |Programmers do it bit by bit. `---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message