From owner-freebsd-ports Wed Dec 20 4:27:29 2000 From owner-freebsd-ports@FreeBSD.ORG Wed Dec 20 04:27:27 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 454A337B400; Wed, 20 Dec 2000 04:27:27 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eBKCROP18950; Wed, 20 Dec 2000 04:27:24 -0800 (PST) Date: Wed, 20 Dec 2000 04:27:24 -0800 From: Alfred Perlstein To: Dag-Erling Smorgrav Cc: asami@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: ports lockfile? Message-ID: <20001220042724.R19572@fw.wintelcom.net> References: <20001219113535.Q19572@fw.wintelcom.net> <20001220094157.C644@ringworld.oblivion.bg> <20001219235750.I19572@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Wed, Dec 20, 2000 at 01:25:29PM +0100 Sender: bright@fw.wintelcom.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Dag-Erling Smorgrav [001220 04:25] wrote: > Alfred Perlstein writes: > > Well here's the very tricky part that I really haven't worked out > > how to do this, the lockf program runs a program with the lock, so > > I need to make the lockf program run make again. > > Use a directory as lock file: mkdir will fail if the directory exists, > allowing you to either abort or sleep and loop back. It's a good idea, but ensuring cleanup is a real problem when you do that. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message