[Swift-commit] Cog update

swift at ci.uchicago.edu swift at ci.uchicago.edu
Mon Apr 30 18:45:03 CDT 2012


------------------------------------------------------------------------
r3397 | hategan | 2012-04-30 18:43:22 -0500 (Mon, 30 Apr 2012) | 1 line

fixed location of pinned dir
------------------------------------------------------------------------
Index: modules/provider-coaster/resources/worker.pl
===================================================================
--- modules/provider-coaster/resources/worker.pl	(revision 3396)
+++ modules/provider-coaster/resources/worker.pl	(working copy)
@@ -1261,7 +1261,7 @@
 
 sub stagein {
 	my ($jobid) = @_;
-
+	
 	wlog TRACE, "stagein(): $jobid\n";
 
 	my $STAGE = $JOBDATA{$jobid}{"stagein"};
@@ -1327,7 +1327,7 @@
 	my $error;
 	$src =~ s/pinned://;
 	my $jobdir = $JOBDATA{$jobid}{'job'}{'directory'};
-	my $pinned_dir = "$jobdir/../pinned";
+	my $pinned_dir = "$jobdir/../../pinned";
 	my $rdst = $dst;
 	$rdst =~ s/$jobdir//;
 
@@ -1788,6 +1788,7 @@
 sub JOBDONE {
 	$JOBSDONE = 1;
 	$SIG{CHLD} = \&JOBDONE;
+	wlog DEBUG, "Got one SIGCHLD\n";
 }
 
 $SIG{CHLD} = \&JOBDONE;
@@ -1917,6 +1918,7 @@
 	die "Could not execute $executable: $!";
 }
 
+undef $ENV{"LANG"};
 initlog();
 
 my $MSG="0";



More information about the Swift-commit mailing list