[csw-devel] SF.net SVN: opencsw:[638] buildfarm/bin

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Nov 25 00:15:24 CET 2012


Revision: 638
          http://opencsw.svn.sourceforge.net/opencsw/?rev=638&view=rev
Author:   wahwah
Date:     2012-11-24 23:15:23 +0000 (Sat, 24 Nov 2012)
Log Message:
-----------
make-experimental-catalogs: Update locking, use /var/tmp

Modified Paths:
--------------
    buildfarm/bin/make-experimental-browsable
    buildfarm/bin/make-experimental-catalogs

Modified: buildfarm/bin/make-experimental-browsable
===================================================================
--- buildfarm/bin/make-experimental-browsable	2012-11-24 23:15:04 UTC (rev 637)
+++ buildfarm/bin/make-experimental-browsable	2012-11-24 23:15:23 UTC (rev 638)
@@ -84,7 +84,7 @@
   my $reportfile = "/export/mirror/pkgbrowser/reports/pkgbrowse-$project.html";
   my $lockfile = "/export/mirror/pkgbrowser/reports/.pkgbrowse-$project.lock";
 
-  open( my $LOCK, '>', $lockfile );
+  open( my $LOCK, '>', $lockfile ) or die "Cannot create lockfile $lockfile";
 
   unless( flock( $LOCK, LOCK_EX | LOCK_NB) ) {
     warn "*** Report $reportfile is locked, skipping.\n";

Modified: buildfarm/bin/make-experimental-catalogs
===================================================================
--- buildfarm/bin/make-experimental-catalogs	2012-11-24 23:15:04 UTC (rev 637)
+++ buildfarm/bin/make-experimental-catalogs	2012-11-24 23:15:23 UTC (rev 638)
@@ -5,7 +5,7 @@
 my $bdir = "/export/mirror/opencsw/current";
 my $odir = "/export/mirror/opencsw/experimental";
 
-my $pidfile = "/var/run/make-experimental-catalog";
+my $pidfile = "/var/tmp/make-experimental-catalog";
 
 if( -f $pidfile ) {
   print STDERR "Script already running\n";

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list