Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Feb 2005 04:04:34 -0500
From:      Julio Capote <jcapote@gmail.com>
To:        Timour Ezeev <timour@pivotaldynamics.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Cool script to update ports in cron..
Message-ID:  <1107421474.1627.3.camel@hatter.wonderland.dn>
In-Reply-To: <20050203003340.U42075@jupiter.caelifer.org>
References:  <20050203003340.U42075@jupiter.caelifer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I also fixed a bug that didnt let it run in cron, because I wasnt using
full paths (doh!)...so it should work fine from cron now


On Thu, 2005-02-03 at 00:34 -0500, Timour Ezeev wrote:
> On Wed, 2 Feb 2005, Julio Capote wrote:
> 
> > I guess the list doesnt like attachments, here's a link:
> > http://wonderland.hopto.org/~capotej/portsync.pl
> > 
> > 
> > -Julio
> 
>    I think you have a small problem with cvs release entry, i.e.  when you
>    run your program you get
> 
> *default release=cvs tag==cvs tag=.
> 
> instead of
> 
> *default release=cvs tag=.
> 
>    Here is a small patch:
> 
> --- portsync.pl	Wed Feb  2 23:28:36 2005
> +++ portsync.pl.new	Wed Feb  2 23:32:37 2005
> @@ -20,7 +20,7 @@
> 
>   #Common configuration
>   my $host = 'cvsup6.us.freebsd.org';   	  	  ### Host you want to use for 
> cvsup
> -my $release = '=cvs tag=.';                       ### Release branch, i,e 
> RELENG_5_3, etc
> +my $release = '.';                                ### Release branch, i,e 
> RELENG_5_3, etc
>   my $collection = 'ports-all';		          ### Collection you want to 
> fetch from the server
>   my $portsdir= '/usr/ports';                       ### Location of your ports 
> tree
>   my $logfile ='/var/log/portsync.log';	          ### File for your logging
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107421474.1627.3.camel>