Update of /cvsroot/fink/experimental/gecko2/scripts In directory vz-cvs-3.sog:/tmp/cvs-serv23751/experimental/gecko2/scripts
Modified Files: checkrsyncmirrors.pl Log Message: move to /sw use $basepath report used rsync mirror file Index: checkrsyncmirrors.pl =================================================================== RCS file: /cvsroot/fink/experimental/gecko2/scripts/checkrsyncmirrors.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- checkrsyncmirrors.pl 5 Sep 2010 08:56:14 -0000 1.2 +++ checkrsyncmirrors.pl 28 Feb 2012 18:47:05 -0000 1.3 @@ -3,7 +3,7 @@ use strict; use warnings; -my $basepath = '/sw64'; +my $basepath = '/sw'; my $mirror_FH; my $timestamp_FH; @@ -17,7 +17,8 @@ my $mirrorname; my @mirrornameparts; -open($mirror_FH, '<', "/sw/fink/mirror/rsync") || die "Could not open rsync mirrors file\n"; +print "Using: $basepath/lib/fink/mirror/rsync\n"; +open($mirror_FH, '<', "$basepath/lib/fink/mirror/rsync") || die "Could not open rsync mirrors file\n"; while (<$mirror_FH>) { if($_ =~ /(^...-..: |Primary: )(rsync:\/\/.*)/) { $mirror = $2; ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs