From owner-freebsd-questions@FreeBSD.ORG Thu Dec 10 07:54:22 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 3D981106566C for ; Thu, 10 Dec 2009 07:54:22 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id ED57A8FC1A for ; Thu, 10 Dec 2009 07:54:21 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001987094 for freebsd-questions@freebsd.org; Thu, 10 Dec 2009 08:54:20 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgZgACM4IEtV44PPPGdsb2JhbACBS4c8kACCUwEBAQE3uHuELAQ X-IronPort-AV: E=Sophos;i="4.47,374,1257116400"; d="scan'208";a="13716160" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 10 Dec 2009 08:54:20 +0100 Message-ID: <4B20A92B.3070304@lazlarlyricon.com> Date: Thu, 10 Dec 2009 08:54:19 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091209) MIME-Version: 1.0 To: FreeBSD Questions References: <20091210075021.GA77868@orange.esperance-linux.co.uk> In-Reply-To: <20091210075021.GA77868@orange.esperance-linux.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: make delete-old question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 07:54:22 -0000 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