From owner-freebsd-questions Tue Jul 16 0:13:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D863A37B400 for ; Tue, 16 Jul 2002 00:13:53 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D85B943E42 for ; Tue, 16 Jul 2002 00:13:52 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6G7Dpbo034927; Tue, 16 Jul 2002 08:13:51 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6G7DjYW034926; Tue, 16 Jul 2002 08:13:45 +0100 (BST) Date: Tue, 16 Jul 2002 08:13:45 +0100 From: Matthew Seaman To: Gerard Samuel Cc: FreeBSD Questions Subject: Re: cvs commit emails?? Message-ID: <20020716071345.GA34849@happy-idiot-talk.infracaninophi> References: <3D338C9E.8010807@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D338C9E.8010807@trini0.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 15, 2002 at 11:01:50PM -0400, Gerard Samuel wrote: > Im trying to setup cvs to send out emails when a file is commited. > I copied, /usr/src/contrib/cvs/contrib/log.in to log.pl in my cvs > CVSROOT directory. > With my inexperience with perl, I entered #!/usr/bin/perl at the top > of log.pl, and chmod the file to 755. That's correct. > Then in loginfo I entered > gsam CVSROOT/log.pl %s -f CVSROOT/commitlog -m gsam@trini0.org Try: gsam $CVSROOT/CVSROOT/log.pl %s -f $CVSROOT/CVSROOT/commitlog -m gsam@trini0.org I think you need to specify the full path for the various files involved. If you find that the CVSROOT environment variable isn't set appropriately, you may have to substitute whatever the path to your repository is. You did make your edits by checking out CVSROOT, rather than editing the files in the repository directory? You probably want to check log.pl into CVSROOT and add it to the checkoutlist file too. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message