Changeset 32816
- Timestamp:
- Nov 25, 2011, 9:00:53 AM (15 years ago)
- Location:
- tags/ipp-20111110/pstamp/scripts
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
pstamp_checkdependent.pl (modified) (1 diff)
-
pstamp_parser_run.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20111110/pstamp/scripts
- Property svn:mergeinfo set to
-
tags/ipp-20111110/pstamp/scripts/pstamp_checkdependent.pl
r32364 r32816 255 255 # caller will fault the jobs 256 256 return $error_code; 257 } elsif ($chip->{dsRun_state} eq 'failed_revert') {257 } elsif ($chip->{dsRun_state} =~ /failed_revert/) { 258 258 # XXX: revert failures are rarely fixed. give up but say it's just not available not GONE 259 259 print "magicDSRun.state = $dsRun_state for chipRun $stage_id is in state failed_revert cannot update\n"; -
tags/ipp-20111110/pstamp/scripts/pstamp_parser_run.pl
r30317 r32816 89 89 # outdir is where all of the files generated for this request are placed 90 90 # NOTE: this location needs to be kept in sync with the web interface ( request.php ) 91 my $datestr = strftime "%Y %m%d", gmtime;91 my $datestr = strftime "%Y/%m/%d", gmtime; 92 92 my $datedir = "$pstamp_workdir/$datestr"; 93 93 if (! -e $datedir ) { 94 mkdir $datedir or my_die( "failed to create working directory $datedir for request id $req_id", $req_id, 95 $PS_EXIT_CONFIG_ERROR); 94 my $rc = system "mkdir -p $datedir"; 95 if ($rc) { 96 my $status = $rc >> 8; 97 $status = $PS_EXIT_CONFIG_ERROR if !$status; 98 my_die( "failed to create working directory $datedir for request id $req_id", $req_id, 99 $status); 100 } 96 101 } 97 102
Note:
See TracChangeset
for help on using the changeset viewer.
