From owner-freebsd-questions@FreeBSD.ORG Thu Dec 10 09:09:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABD8E106566B for ; Thu, 10 Dec 2009 09:09:51 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-15.bnguk.net (atmail-15.bnguk.net [80.74.253.42]) by mx1.freebsd.org (Postfix) with ESMTP id 68E8B8FC14 for ; Thu, 10 Dec 2009 09:09:51 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-15.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NIf1i-0003bg-EX; Thu, 10 Dec 2009 09:09:34 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 60E984AC1B; Thu, 10 Dec 2009 09:09:32 +0000 (GMT) Date: Thu, 10 Dec 2009 09:09:32 +0000 From: Frank Shute To: Rolf G Nielsen Message-ID: <20091210090932.GA78056@orange.esperance-linux.co.uk> Mail-Followup-To: Rolf G Nielsen , FreeBSD Questions References: <20091210075021.GA77868@orange.esperance-linux.co.uk> <4B20A92B.3070304@lazlarlyricon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B20A92B.3070304@lazlarlyricon.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RC1 amd64 X-Organisation: 'shute.org.uk' Cc: FreeBSD Questions Subject: Re: make delete-old question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 09:09:51 -0000 On Thu, Dec 10, 2009 at 08:54:19AM +0100, Rolf G Nielsen wrote: > > Frank Shute wrote: > >Hi, > > > >Successfully upgraded from 7.2 to 8.0 but had my usual problem when > >jumping major versions with the make delete-old target. > > > >The problem being that it asks me to confirm deletion of each lib/file > >with a "y" and a return. I've found that I never say "n" to any > >deletion and it becomes very tedious to hammer at the keyboard for > >hundreds of libs/files. > > > >Is there a way to change the Makefile so that they all get deleted > >with just one "y" and a return? Or possibly use yes(1) to script it? > > > >TIA. > > > >Regards, > > > > yes | make delete-old Thanks Rolf, I hoped it would be something simple. Now I'll update my laptop. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html